Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
7.3.1, 8.0
-
None
-
None
-
New, Patch Available
Description
As part of LUCENE-8145, the FieldOffsetStrategy abstract class was changed to return an OffsetsEnum rather than a List<OffsetsEnum> for getOffsetsEnum(IndexReader reader, int docId, String content). However, the javadoc at the top of the class currently reads:
Ultimately returns a list of {@link OffsetsEnum} yielding potentially highlightable words in the text....
"a list" should be replaced with "an" to be more accurate now that this method has changed signature.
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-8145 UnifiedHighlighter should use single OffsetEnum rather than List<OffsetEnum>
- Closed