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:35:00 UTC
[jira] [Updated] (LUCENE-8283) Improve FieldOffsetStrategy javadoc
post-OffsetsEnum change
[ https://issues.apache.org/jira/browse/LUCENE-8283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Braun updated LUCENE-8283:
----------------------------------
Attachment: LUCENE-8283.patch
> 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
> Priority: Trivial
> Attachments: LUCENE-8283.patch
>
>
> 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