Package de.cxp.ocs.util
Class InternalSearchParams
- java.lang.Object
-
- de.cxp.ocs.util.InternalSearchParams
-
public class InternalSearchParams extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,String>customParamsList<InternalResultFilter>filtersStaticProductSet[]heroProductSetsintlimitintoffsetList<Sorting>sortingsStringuserQuerybooleanwithFacetsflag to specify if facets are necessary.booleanwithResultDataFlag to specify if the full documents should be returned or not.
-
Constructor Summary
Constructors Constructor Description InternalSearchParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalSearchParamswithFilter(InternalResultFilter filter)InternalSearchParamswithSorting(Sorting sorting)
-
-
-
Field Detail
-
limit
public int limit
-
offset
public int offset
-
userQuery
public String userQuery
-
withFacets
public boolean withFacets
flag 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 withResultData
Flag 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.
-
filters
public List<InternalResultFilter> filters
-
heroProductSets
public StaticProductSet[] heroProductSets
-
-
Method Detail
-
withSorting
public InternalSearchParams withSorting(Sorting sorting)
-
withFilter
public InternalSearchParams withFilter(InternalResultFilter filter)
-
-