/AWS1/CL_KNDSEARCH¶
Provides information about how a custom index field is used during a search.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_facetable TYPE /AWS1/KNDBOOLEAN /AWS1/KNDBOOLEAN¶
Indicates that the field can be used to create search facets, a count of results for each value in the field. The default is
false.
iv_searchable TYPE /AWS1/KNDBOOLEAN /AWS1/KNDBOOLEAN¶
Determines whether the field is used in the search. If the
Searchablefield istrue, you can use relevance tuning to manually tune how Amazon Kendra weights the field in the search. The default istruefor string fields andfalsefor number and date fields.
iv_displayable TYPE /AWS1/KNDBOOLEAN /AWS1/KNDBOOLEAN¶
Determines whether the field is returned in the query response. The default is
true.
iv_sortable TYPE /AWS1/KNDBOOLEAN /AWS1/KNDBOOLEAN¶
Determines whether the field can be used to sort the results of a query. If you specify sorting on a field that does not have
Sortableset totrue, Amazon Kendra returns an exception. The default isfalse.
Queryable Attributes¶
Facetable¶
Indicates that the field can be used to create search facets, a count of results for each value in the field. The default is
false.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FACETABLE() |
Getter for FACETABLE |
Searchable¶
Determines whether the field is used in the search. If the
Searchablefield istrue, you can use relevance tuning to manually tune how Amazon Kendra weights the field in the search. The default istruefor string fields andfalsefor number and date fields.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SEARCHABLE() |
Getter for SEARCHABLE |
Displayable¶
Determines whether the field is returned in the query response. The default is
true.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DISPLAYABLE() |
Getter for DISPLAYABLE |
Sortable¶
Determines whether the field can be used to sort the results of a query. If you specify sorting on a field that does not have
Sortableset totrue, Amazon Kendra returns an exception. The default isfalse.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SORTABLE() |
Getter for SORTABLE |