Lucene - Core
  1. Lucene - Core
  2. LUCENE-1800

QueryParser should use reusable token streams

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Just like indexing, the query parser should use reusable token streams

      1. LUCENE-1800_analyzingQP.patch
        3 kB
        Robert Muir
      2. LUCENE-1800.patch
        2 kB
        Yonik Seeley

        Activity

        Hide
        Michael McCandless added a comment -

        Patch looks good!

        Show
        Michael McCandless added a comment - Patch looks good!
        Hide
        Yonik Seeley added a comment -

        committed.

        Show
        Yonik Seeley added a comment - committed.
        Hide
        Robert Muir added a comment -

        not sure this belongs here, can do under some issue if you want.
        note: PrecedenceQueryParser should be fixed too, more importantly, it still uses next(Token) api!!

        Show
        Robert Muir added a comment - not sure this belongs here, can do under some issue if you want. note: PrecedenceQueryParser should be fixed too, more importantly, it still uses next(Token) api!!
        Hide
        Erik Hatcher added a comment -

        Does anyone use PrecedenceQueryParser? It was an experiment tossed out there, but I've not heard of anyone using it for real.

        Show
        Erik Hatcher added a comment - Does anyone use PrecedenceQueryParser? It was an experiment tossed out there, but I've not heard of anyone using it for real.

          People

          • Assignee:
            Yonik Seeley
            Reporter:
            Yonik Seeley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development