Document

class Document

Information about a document from a search service such as OpenSearch (self managed). Amazon Kendra Intelligent Ranking uses this information to rank and score on.

Types

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

Properties

Link copied to clipboard
val body: String?

The body text of the search service's document.

Link copied to clipboard

The optional group identifier of the document from the search service. Documents with the same group identifier are grouped together and processed as one document within the service.

Link copied to clipboard
val id: String

The identifier of the document from the search service.

Link copied to clipboard

The original document score or rank from the search service. Amazon Kendra Intelligent Ranking gives the document a new score or rank based on its intelligent search algorithms.

Link copied to clipboard

The title of the search service's document.

Link copied to clipboard

The body text of the search service's document represented as a list of tokens or words. You must choose to provide Body or TokenizedBody. You cannot provide both.

Link copied to clipboard

The title of the search service's document represented as a list of tokens or words. You must choose to provide Title or TokenizedTitle. You cannot provide both.

Functions

Link copied to clipboard
inline fun copy(block: Document.Builder.() -> Unit = {}): Document
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