Package de.cxp.ocs.model.result
Class SearchResult
java.lang.Object
de.cxp.ocs.model.result.SearchResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe search parameters (SearchQuery parameters + filters) that were used to get that result view.Additional optional payload, e.g.The result may consist of several slices, for example if a search request couldn't be answered matching all words (e.g.long
amount of time the internal search needed to compute that result -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tookInMillis
public long tookInMillisamount of time the internal search needed to compute that result -
inputURI
The search parameters (SearchQuery parameters + filters) that were used to get that result view. May be used to generate breadcrumbs. -
slices
The result may consist of several slices, for example if a search request couldn't be answered matching all words (e.g. "striped nike shirt") then one slice could be the result for one part of the query (e.g. "striped shirt") and the other could be for another part of the query (e.g. "nike shirt"). This can also be used to deliver some special advertised products or to split the result in different ranked slices (e.g. the first 3 results are ranked by popularity, the next 3 are sorted by price and the rest is ranked by 'default' relevance). Each slice contains theSearchQuery
encoded as URI that represent that exact slice. At least 1 slice should be expected. If there is no slice, no results were found. -
sortOptions
-
meta
Additional optional payload, e.g. spell-correction information (aka did-you-mean)
-
-
Constructor Details
-
SearchResult
public SearchResult()
-