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

Incorrect error message in AnalyzingQueryParser.getPrefixQuery

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • core/other
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: