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

Expose fields in FieldPhraseList and WeightedPhraseInfo with public getters

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4
    • None
    • modules/highlighter
    • None
    • New

    Description

      Currently, to write a custom FragListBuilder implementation or custom highlighter, it probably will have to be placed in the org.apache.lucene.search.vectorhighlight package so that it has access to the fields in FieldPhraseList and its inner class WeightedPhraseInfo. It seems that in recent releases, getters were added for fields in many other classes in vectorhighlight, and I think it makes sense to add them for fields in FieldPhraseList as well to support such custom implementations.

      Attachments

        1. LUCENE-3512.patch
          0.7 kB
          Kelsey Francis

        Activity

          People

            Unassigned Unassigned
            derkaas Kelsey Francis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: