Package com.loop54.model.request
Class SearchRequest
java.lang.Object
com.loop54.model.request.Request
com.loop54.model.request.SearchRequest
This class is used to configure a search request to the Loop54 e-commerce search engine.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe search query from the end-user.Parameters for specifying how related queries should be retrieved.Parameters for specifying which related results to retrieve.Parameters for specifying which direct results to retrieve.Parameters for specifying how spelling suggestions should be retrieved.Fields inherited from class com.loop54.model.request.Request
customData -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.loop54.model.request.Request
addCustomData
-
Field Details
-
query
The search query from the end-user. Can at most be 200 chars long. -
resultsOptions
Parameters for specifying which direct results to retrieve. Such as filtering, faceting, sorting and paging. Only affects the direct results, to modify the related results userelatedResultsOptions. -
spellingSuggestionsOptions
Parameters for specifying how spelling suggestions should be retrieved. Contains paging and sorting options.
-
-
Constructor Details
-
SearchRequest
The search query from the end-user. Can at most be 200 chars long.- Parameters:
query- The query to search for.
-