[ 
https://issues.apache.org/jira/browse/LUCENE-7876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048639#comment-16048639
 ] 

ASF subversion and git services commented on LUCENE-7876:
---------------------------------------------------------

Commit 8a7de414b3f58de6d25ce858cff9ef1bc366f5ad in lucene-solr's branch 
refs/heads/branch_6x from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8a7de41 ]

LUCENE-7876: avoid LeafReader.fields and MultiFields.getFields

(cherry picked from commit f470bbc)


> Avoid needless calls to LeafReader.fields and MultiFields.getFields
> -------------------------------------------------------------------
>
>                 Key: LUCENE-7876
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7876
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: master (7.0), 6.7
>
>         Attachments: LUCENE_7876_avoid_leafReader_fields.patch
>
>
> In LUCENE-7500 we're removing LeafReader.fields for 7.x.  Here in this issue 
> for 6.x and 7.x we simply avoid calling this method (and also 
> MultiFields.getFields) when there is an obvious replacement for 
> LeafReader.terms(field) (and MultiFields.getTerms).  Any absolutely 
> non-trivial changes are occurring in LUCENE-7500.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to