Class ExtendedDismaxQParser.ExtendedDismaxConfiguration

  • Enclosing class:
    ExtendedDismaxQParser

    public static class ExtendedDismaxQParser.ExtendedDismaxConfiguration
    extends Object
    Simple container for configuration information used when parsing queries
    • Field Detail

      • queryFields

        protected Map<String,​Float> queryFields
        The field names specified by 'qf' that (most) clauses will be queried against
      • userFields

        protected org.apache.solr.search.ExtendedDismaxQParser.UserFields userFields
        The field names specified by 'uf' that users are allowed to include literally in their query string. The Float boost values will be applied automatically to any clause using that field name. '*' will be treated as an alias for any field that exists in the schema. Wildcards are allowed to express dynamicFields.
      • boostParams

        protected String[] boostParams
      • multBoosts

        protected String[] multBoosts
      • solrParams

        protected org.apache.solr.common.params.SolrParams solrParams
      • minShouldMatch

        protected String minShouldMatch
      • tiebreaker

        protected float tiebreaker
      • qslop

        protected int qslop
      • stopwords

        protected boolean stopwords
      • mmAutoRelax

        protected boolean mmAutoRelax
      • lowercaseOperators

        protected boolean lowercaseOperators
      • boostFuncs

        protected String[] boostFuncs
      • splitOnWhitespace

        protected boolean splitOnWhitespace
    • Constructor Detail

      • ExtendedDismaxConfiguration

        public ExtendedDismaxConfiguration​(org.apache.solr.common.params.SolrParams localParams,
                                           org.apache.solr.common.params.SolrParams params,
                                           SolrQueryRequest req)
    • Method Detail

      • hasMultiplicativeBoosts

        public boolean hasMultiplicativeBoosts()
        Returns:
        true if there are valid multiplicative boost queries
      • hasBoostFunctions

        public boolean hasBoostFunctions()
        Returns:
        true if there are valid boost functions
      • hasBoostParams

        public boolean hasBoostParams()
        Returns:
        true if there are valid boost params