FeaturedResultsItem

A single featured result item. A featured result is displayed at the top of the search results page, placed above all other results for certain queries. If there's an exact match of a query, then certain documents are featured in the search results.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

One or more additional attributes associated with the featured result.

Link copied to clipboard

An array of document attributes assigned to a featured document in the search results. For example, the document author (_author) or the source URI (_source_uri) of the document.

Link copied to clipboard

Provides text and information about where to highlight the text.

Link copied to clipboard

The identifier of the featured document.

Link copied to clipboard

Provides text and information about where to highlight the text.

Link copied to clipboard

The source URI location of the featured document.

Link copied to clipboard

A token that identifies a particular featured result from a particular query. Use this token to provide click-through feedback for the result. For more information, see Submitting feedback.

Link copied to clipboard
val id: String?

The identifier of the featured result.

Link copied to clipboard

The type of document within the featured result response. For example, a response could include a question-answer type that's relevant to the query.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String