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

Add a QParserPlugin for Lucene's SimpleQueryParser.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7, 6.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              jdconradson Jack Conradson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: