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

TermsQuery.toString() assumes UTF-8 terms

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      As reported by Ruslan Muzhikov, it will give AssertionError on binary terms.

      We should use Term.toString() which will do the right thing.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: