Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3272

Consolidate Lucene's QueryParsers into a module

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: modules/queryparser
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Lucene has a lot of QueryParsers and we should have them all in a single consistent place.

      The following are QueryParsers I can find that warrant moving to the new module:

      • Lucene Core's QueryParser
      • AnalyzingQueryParser
      • ComplexPhraseQueryParser
      • ExtendableQueryParser
      • Surround's QueryParser
      • PrecedenceQueryParser
      • StandardQueryParser
      • XML-Query-Parser's CoreParser

      All seem to do a good job at their kind of parsing with extensive tests.

      One challenge of consolidating these is that many tests use Lucene Core's QueryParser. One option is to just replicate this class in src/test and call it TestingQueryParser. Another option is to convert all tests over to programmatically building their queries (seems like alot of work).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cmale Chris Male
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: