public class Options extends Object
| Modifier and Type | Field and Description |
|---|---|
Boolean |
FacetCounts
Optional.
|
Boolean |
Highlight
Optional.
|
Boolean |
MergeOverLappingSynonyms
Optional.
|
Integer |
PageSize
Optional parameter to specify the number of result items (max 1500).
|
String[] |
ResultFields
Optional customization of the fields to be included in the results.
|
Integer |
ResultOffset
the result item offset used for pagination.
|
List<String> |
Roles
The roles associated with the request.
|
String[] |
SearchAfter
Used for pagination within Elastic Search Searcher (ignored for external searchers).
|
Sorting[] |
Sorting
Optional sorting definition.
|
Boolean |
SupressCorrection
If true then spelling correction on the input query is skipped.
|
Boolean |
SupressResultList
If true then no result list is returned.
|
SynonymExpansionMode |
SynonymExpansionMode
Optional setting for synonym expansion mode.
|
String[] |
SynonymLanguages
Optional List of language codes preferred by the user to filter synonyms by languages.
|
Boolean |
UseNLQS
Optional flag indicating that the backend needs to use the Natural Language
Query Service (NLQS) to interpret the query String.
|
| Constructor and Description |
|---|
Options() |
public List<String> Roles
public Boolean SupressResultList
public Boolean SupressCorrection
public Boolean Highlight
public Integer PageSize
SearchAfter or
ResultOffset). When this is larger than 100, facet counts and search term highlighting
are not provided (FacetCounts and Highlight are implicitly set to false).
If not provided, the pre-configured page size of the searcher will be used.
This value is ignored for external searchers.public String[] SearchAfter
SearchResult.SearchAfter returned from the previous page query.public Integer ResultOffset
SearchAfter is set. ResultOffset + PageSize
cannot be more than 10000.public String[] SynonymLanguages
public Boolean MergeOverLappingSynonyms
public SynonymExpansionMode SynonymExpansionMode
public String[] ResultFields
public Boolean FacetCounts
public Sorting[] Sorting
public Boolean UseNLQS
Copyright © 2025. All rights reserved.