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

FastVectorHighlighter Overlapping Queries Do Not Highlight

    XMLWordPrintableJSON

Details

    • New

    Description

      Example Text:
      ABCDEF

      Example Query:
      AB or ABC

      I got two terms hit, (AB, startOffset=0, endOffset=2, weight=4), (ABC, startOffset=0, endOffset=3, weight=5), in FieldPhraseList's constructor, line 103, addIfNoOverlap, only (AB) were highlighted, and (ABC) with higher weight had been dropped because offset overlapping

      Attachments

        Activity

          People

            Unassigned Unassigned
            weiqiyiji Luo Ji
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: