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

Adding a factory to QueryParser to instantiate query instances

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.4
    • core/queryparser
    • None
    • New, Patch Available

    Description

      With the new efforts with Payload and scoring functions, it would be nice to plugin custom query implementations while using the same QueryParser.
      Included is a patch with some refactoring the QueryParser to take a factory that produces query instances.

      Attachments

        1. lucene_patch.txt
          6 kB
          John Wang
        2. LUCENE-1061.patch
          16 kB
          Michael McCandless
        3. LUCENE-1061.patch
          16 kB
          Michael McCandless

        Issue Links

          Activity

            People

              mikemccand Michael McCandless
              john.wang@gmail.com John Wang
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: