AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A single query result.
A query result contains information about a document returned by the query. This includes the original location of the document, a list of attributes assigned to the document, and relevant text from the document that satisfies the query.
Namespace: Amazon.Kendra.Model
Assembly: AWSSDK.Kendra.dll
Version: 3.x.y.z
public class QueryResultItem
The QueryResultItem type exposes the following members
Name | Description | |
---|---|---|
QueryResultItem() |
Name | Type | Description | |
---|---|---|---|
AdditionalAttributes | System.Collections.Generic.List<Amazon.Kendra.Model.AdditionalResultAttribute> |
Gets and sets the property AdditionalAttributes. One or more additional fields/attributes associated with the query result. |
|
CollapsedResultDetail | Amazon.Kendra.Model.CollapsedResultDetail |
Gets and sets the property CollapsedResultDetail. Provides details about a collapsed group of search results. |
|
DocumentAttributes | System.Collections.Generic.List<Amazon.Kendra.Model.DocumentAttribute> |
Gets and sets the property DocumentAttributes.
An array of document fields/attributes assigned to a document in the search results.
For example, the document author ( |
|
DocumentExcerpt | Amazon.Kendra.Model.TextWithHighlights |
Gets and sets the property DocumentExcerpt. An extract of the text in the document. Contains information about highlighting the relevant terms in the excerpt. |
|
DocumentId | System.String |
Gets and sets the property DocumentId. The identifier for the document. |
|
DocumentTitle | Amazon.Kendra.Model.TextWithHighlights |
Gets and sets the property DocumentTitle. The title of the document. Contains the text of the title and information for highlighting the relevant terms in the title. |
|
DocumentURI | System.String |
Gets and sets the property DocumentURI. The URI of the original location of the document. |
|
FeedbackToken | System.String |
Gets and sets the property FeedbackToken. A token that identifies a particular result from a particular query. Use this token to provide click-through feedback for the result. For more information, see Submitting feedback. |
|
Format | Amazon.Kendra.QueryResultFormat |
Gets and sets the property Format.
If the |
|
Id | System.String |
Gets and sets the property Id.
The unique identifier for the query result item id ( |
|
ScoreAttributes | Amazon.Kendra.Model.ScoreAttributes |
Gets and sets the property ScoreAttributes.
Indicates the confidence level of Amazon Kendra providing a relevant result for the
query. Each result is placed into a bin that indicates the confidence,
The field is only set to |
|
TableExcerpt | Amazon.Kendra.Model.TableExcerpt |
Gets and sets the property TableExcerpt. An excerpt from a table within a document. |
|
Type | Amazon.Kendra.QueryResultType |
Gets and sets the property Type. The type of document within the response. For example, a response could include a question-answer that's relevant to the query. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5