You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Braun (JIRA)" <ji...@apache.org> on 2018/04/28 19:34:00 UTC
[jira] [Created] (LUCENE-8283) Improve FieldOffsetStrategy javadoc
post-OffsetsEnum change
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org