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.
Provides information that you can use to highlight a search result so that your users can quickly identify terms in the response.
Namespace: Amazon.Kendra.Model
Assembly: AWSSDK.Kendra.dll
Version: 3.x.y.z
public class Highlight
The Highlight type exposes the following members
Name | Description | |
---|---|---|
![]() |
Highlight() |
Name | Type | Description | |
---|---|---|---|
![]() |
BeginOffset | System.Int32 |
Gets and sets the property BeginOffset. The zero-based location in the response string where the highlight starts. |
![]() |
EndOffset | System.Int32 |
Gets and sets the property EndOffset. The zero-based location in the response string where the highlight ends. |
![]() |
TopAnswer | System.Boolean |
Gets and sets the property TopAnswer. Indicates whether the response is the best response. True if this is the best response; otherwise, false. |
![]() |
Type | Amazon.Kendra.HighlightType |
Gets and sets the property Type. The highlight type. |
.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