lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8511) MultiFields.getIndexedFields can be optimized to not use getMergedFieldInfos
Date Sat, 22 Sep 2018 03:48:00 GMT

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

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

Commit 4ccf0fb8f6ce269de8b4501fca201f5b4763cfe7 in lucene-solr's branch refs/heads/master
from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=4ccf0fb ]

LUCENE-8511: MultiFields.getIndexedFields optimize to not call getMergedFieldInfos


> MultiFields.getIndexedFields can be optimized to not use getMergedFieldInfos
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-8511
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8511
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>         Attachments: LUCENE-8511.patch, LUCENE-8511.patch
>
>
> MultiFields.getIndexedFields calls getMergedFieldInfos.  But getMergedFieldInfos is kinda
heavy, doing all sorts of stuff that getIndexedFields doesn't care about.  It can simply loop
the leaf readers and collect the results into a Set.  Java 8 streams should make easy work
of this.



--
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


Mime
View raw message