public class SearchRequest extends Request
Modifier and Type | Field and Description |
---|---|
java.lang.String |
query
The search query from the end-user.
|
QueryCollectionParameters |
relatedQueriesOptions
Parameters for specifying how related queries should be retrieved.
|
EntityCollectionParameters |
relatedResultsOptions
Parameters for specifying which related results to retrieve.
|
EntityCollectionParameters |
resultsOptions
Parameters for specifying which direct results to retrieve.
|
QueryCollectionParameters |
spellingSuggestionsOptions
Parameters for specifying how spelling suggestions should be retrieved.
|
customData
Constructor and Description |
---|
SearchRequest(java.lang.String query)
The search query from the end-user.
|
addCustomData
public final java.lang.String query
public final EntityCollectionParameters resultsOptions
relatedResultsOptions
.public final EntityCollectionParameters relatedResultsOptions
resultsOptions
.public final QueryCollectionParameters spellingSuggestionsOptions
public final QueryCollectionParameters relatedQueriesOptions