Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5447

Add a QParserPlugin for Lucene's SimpleQueryParser.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.7, 6.0
    • None
    • None

    Description

      Exactly as the title says, I would like to add a QParserPlugin to make Lucene's SimpleQueryParser available easily through Solr. I will add the SimpleQParserPlugin to the standard plugins list in QParserPlugin.

      The following options will be exposed:

      • A way to specify the fields to be queried on with boosts.
      • A way to override the default field if a different one is desired than what the schema has.
      • A way to set the default operator for whitespace as either 'AND' or 'OR.'
      • A way to set the enabled/disabled operators that are available through the SimpleQueryParser.

      Attachments

        1. SOLR-5447.patch
          25 kB
          Jack Conradson

        Activity

          People

            shalin Shalin Shekhar Mangar
            jdconradson Jack Conradson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: