[
https://issues.apache.org/jira/browse/LUCENE-7311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387692#comment-15387692
]
ASF subversion and git services commented on LUCENE-7311:
---------------------------------------------------------
Commit 71541bcd6cfd1e279faa1f2402403ac74cc5362d in lucene-solr's branch
refs/heads/apiv2 from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=71541bc ]
LUCENE-7311: Cached term queries do not seek the terms dictionary anymore.
> TermWeight shoud seek terms lazily
> ----------------------------------
>
> Key: LUCENE-7311
> URL: https://issues.apache.org/jira/browse/LUCENE-7311
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: master (7.0), 6.2
>
> Attachments: LUCENE-7311.patch, LUCENE-7311.patch
>
>
> Currently the terms are seeked eagerly in TermQuery.createWeight when
> creating the TermContext. This might be wasteful when scores are not needed
> since the query might be cached on some segments, thus seeking the term on
> these segments is not needed. We could change TermWeight to only seek terms
> in Weight.scorer when scores are not needed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]