You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/04/30 02:30:00 UTC
[jira] [Commented] (LUCENE-8283) Improve FieldOffsetStrategy
javadoc post-OffsetsEnum change
[ https://issues.apache.org/jira/browse/LUCENE-8283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458274#comment-16458274 ]
ASF subversion and git services commented on LUCENE-8283:
---------------------------------------------------------
Commit 570fff86727742360703a7d17f33127f3341edda in lucene-solr's branch refs/heads/master from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=570fff8 ]
LUCENE-8283: Minor javadoc correction in UH FieldOffsetStrategy
> 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