Class DslRequest


  • public class DslRequest
    extends DslCloneable
    Container that holds all parameters for DSL request
    • Constructor Detail

      • DslRequest

        public DslRequest​(QueryDefinition queryDefinition,
                          Results results,
                          java.util.Map<java.lang.String,​java.lang.Object> params,
                          java.util.Map<java.lang.String,​java.lang.Object> context,
                          Facets facets)
    • Method Detail

      • getQueryDefinition

        public QueryDefinition getQueryDefinition()
        Returns:
        search query parameters
      • getParams

        public java.util.Map<java.lang.String,​java.lang.Object> getParams()
        Returns:
        a map that holds request parameters that will be added to the underlying query to search engine
      • setQueryDefinition

        public void setQueryDefinition​(QueryDefinition queryDefinition)
      • getResults

        public Results getResults()
        Returns:
        search result parameters
      • getFacets

        public Facets getFacets()
        Returns:
        facets parameters
      • setFacets

        public void setFacets​(Facets facets)
      • getContext

        public java.util.Map<java.lang.String,​java.lang.Object> getContext()
        Returns:
        a map that holds additional parameters that are used by some stages or DSL hints