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

HyphenationDecompoundTokenFilter does not set position/offset attributes correctly

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.6.1, 7.2.1
    • None
    • modules/analysis
    • None
    • New

    Description

      HyphenationDecompoundTokenFilter and DictionaryDecompoundTokenFilter set positionIncrement to 0 for all subwords, reuse start/endoffset of the original token and ignore positionLength completly.

      In consequence, the QueryBuilder generates a SynonymQuery comprising all subwords, which should rather treated as individual terms.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            systect Holger Bruch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: