Michael Braun created LUCENE-8283:
-------------------------------------

             Summary: Improve FieldOffsetStrategy javadoc post-OffsetsEnum 
change
                 Key: LUCENE-8283
                 URL: https://issues.apache.org/jira/browse/LUCENE-8283
             Project: Lucene - Core
          Issue Type: Improvement
    Affects Versions: master (8.0), 7.3.1
            Reporter: Michael Braun


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:

{code}
Ultimately returns a list of {@link OffsetsEnum} yielding potentially 
highlightable words in the text....
{code}

"a list" should be replaced with "an" to be more accurate now that this method 
has changed signature.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to