| Package | Description |
|---|---|
| com.amazonaws.services.kendra.model |
| Modifier and Type | Method and Description |
|---|---|
QueryResultItem |
QueryResultItem.clone() |
QueryResultItem |
QueryResultItem.withAdditionalAttributes(AdditionalResultAttribute... additionalAttributes)
One or more additional fields/attributes associated with the query result.
|
QueryResultItem |
QueryResultItem.withAdditionalAttributes(Collection<AdditionalResultAttribute> additionalAttributes)
One or more additional fields/attributes associated with the query result.
|
QueryResultItem |
QueryResultItem.withCollapsedResultDetail(CollapsedResultDetail collapsedResultDetail)
Provides details about a collapsed group of search results.
|
QueryResultItem |
QueryResultItem.withDocumentAttributes(Collection<DocumentAttribute> documentAttributes)
An array of document fields/attributes assigned to a document in the search results.
|
QueryResultItem |
QueryResultItem.withDocumentAttributes(DocumentAttribute... documentAttributes)
An array of document fields/attributes assigned to a document in the search results.
|
QueryResultItem |
QueryResultItem.withDocumentExcerpt(TextWithHighlights documentExcerpt)
An extract of the text in the document.
|
QueryResultItem |
QueryResultItem.withDocumentId(String documentId)
The identifier for the document.
|
QueryResultItem |
QueryResultItem.withDocumentTitle(TextWithHighlights documentTitle)
The title of the document.
|
QueryResultItem |
QueryResultItem.withDocumentURI(String documentURI)
The URI of the original location of the document.
|
QueryResultItem |
QueryResultItem.withFeedbackToken(String feedbackToken)
A token that identifies a particular result from a particular query.
|
QueryResultItem |
QueryResultItem.withFormat(QueryResultFormat format)
If the
Type of document within the response is ANSWER, then it is either a
TABLE answer or TEXT answer. |
QueryResultItem |
QueryResultItem.withFormat(String format)
If the
Type of document within the response is ANSWER, then it is either a
TABLE answer or TEXT answer. |
QueryResultItem |
QueryResultItem.withId(String id)
The unique identifier for the query result item id (
Id) and the query result item document id (
DocumentId) combined. |
QueryResultItem |
QueryResultItem.withScoreAttributes(ScoreAttributes scoreAttributes)
Indicates the confidence level of Amazon Kendra providing a relevant result for the query.
|
QueryResultItem |
QueryResultItem.withTableExcerpt(TableExcerpt tableExcerpt)
An excerpt from a table within a document.
|
QueryResultItem |
QueryResultItem.withType(QueryResultType type)
The type of document within the response.
|
QueryResultItem |
QueryResultItem.withType(String type)
The type of document within the response.
|
| Modifier and Type | Method and Description |
|---|---|
List<QueryResultItem> |
QueryResult.getResultItems()
The results of the search.
|
| Modifier and Type | Method and Description |
|---|---|
QueryResult |
QueryResult.withResultItems(QueryResultItem... resultItems)
The results of the search.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QueryResult.setResultItems(Collection<QueryResultItem> resultItems)
The results of the search.
|
QueryResult |
QueryResult.withResultItems(Collection<QueryResultItem> resultItems)
The results of the search.
|
Copyright © 2024. All rights reserved.