View on GitHub

Open Commerce Search Stack

The Documentation

SearchResult

Properties

Name Type Description Notes
inputURI URI The URI that was used to get that result view. May be used to generate breadcrumbs. [optional] [default to null]
meta Map   [optional] [default to null]
slices List 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 the {@link SearchQuery} that represent that exact slice. At least 1 slice should be expected. If there is no slice, no results were found. [optional] [default to null]
sortOptions List   [optional] [default to null]
tookInMillis Long amount of time the internal search needed to compute that result [optional] [default to null]

[Back to Model list] [Back to API list] [Back to README]