Package de.cxp.ocs.util
Class InternalSearchParams
java.lang.Object
de.cxp.ocs.util.InternalSearchParams
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
If set to a value > 0, the facets are build only on the top N hits (samples) of the result.boolean
See ArrangedSearchQuery::includeMainResultOptional filters added by the analyzer that should only be applied internally but not exposed in the result.int
int
boolean
flag to specify if facets are necessary.boolean
Flag to specify if the full documents should be returned or not. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValueOf
(String name) withFilter
(InternalResultFilter filter) withSorting
(SortInstruction sorting)
-
Field Details
-
limit
public int limit -
aggSampling
public int aggSamplingIf set to a value > 0, the facets are build only on the top N hits (samples) of the result. -
offset
public int offset -
userQuery
-
withFacets
public boolean withFacetsflag to specify if facets are necessary. Should be set to false in case only the next batch of hits is requests (e.g. for endless scrolling). -
withResultData
public boolean withResultDataFlag to specify if the full documents should be returned or not. Default: true. If set to "false", the documents are just returned with their IDs. -
includeMainResult
public boolean includeMainResultSee ArrangedSearchQuery::includeMainResult -
sortings
-
filters
-
inducedFilters
Optional filters added by the analyzer that should only be applied internally but not exposed in the result. -
customParams
-
heroProductSets
-
excludedIds
-
trace
-
-
Constructor Details
-
InternalSearchParams
public InternalSearchParams()
-
-
Method Details
-
withSorting
-
withFilter
-
getValueOf
-