Class ScopedQueryResult

java.lang.Object
com.loop54.model.response.QueryResult
com.loop54.model.response.ScopedQueryResult

public class ScopedQueryResult extends QueryResult
A query with scopes. Scopes can be categories, brands or another attribute of the entities related to the query to do faceted autocomplete.
  • Field Details

    • scopes

      public List<String> scopes
      Scopes where this query is relevant. Based on which entity attribute values will be present in the search results. Use together with faceting of search results for this query.
    • scopeAttributeName

      public String scopeAttributeName
      The name of the attribute from which the scopes were created
  • Constructor Details

    • ScopedQueryResult

      public ScopedQueryResult()