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

Incorrect error message in AnalyzingQueryParser.getPrefixQuery

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/other
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      The error message of getPrefixQuery is incorrect when tokens were added, for example by a stemmer. The message is "token was consumed" even if tokens were added.
      Attached is a patch, which when applied gives a better description of what actually happened.

        Activity

        Hide
        ronniek Ronnie Kolehmainen added a comment -

        Patch for current trunk.

        Show
        ronniek Ronnie Kolehmainen added a comment - Patch for current trunk.
        Hide
        michaelbusch Michael Busch added a comment -

        Committed. Thanks, Ronnie!

        Show
        michaelbusch Michael Busch added a comment - Committed. Thanks, Ronnie!

          People

          • Assignee:
            Unassigned
            Reporter:
            ronniek Ronnie Kolehmainen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development