Class ExtendedDismaxQParser.ExtendedDismaxConfiguration

java.lang.Object
org.apache.solr.search.ExtendedDismaxQParser.ExtendedDismaxConfiguration
Enclosing class:
ExtendedDismaxQParser

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

    • 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
    • allPhraseFields

      protected List<FieldParams> allPhraseFields
    • tiebreaker

      protected float tiebreaker
    • qslop

      protected int qslop
    • stopwords

      protected boolean stopwords
    • mmAutoRelax

      protected boolean mmAutoRelax
    • altQ

      protected String altQ
    • lowercaseOperators

      protected boolean lowercaseOperators
    • boostFuncs

      protected String[] boostFuncs
    • splitOnWhitespace

      protected boolean splitOnWhitespace
    • schema

      protected IndexSchema schema
  • Constructor Details

    • ExtendedDismaxConfiguration

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

    • 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
    • getAllPhraseFields

      public List<FieldParams> getAllPhraseFields()