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

Incorrect error message in AnalyzingQueryParser.getPrefixQuery

    XMLWordPrintableJSON

    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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: