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

TermsQuery.toString() assumes UTF-8 terms

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None
    • 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

        1. LUCENE-6792.patch
          1 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: