You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2020/09/01 06:09:00 UTC
[jira] [Commented] (SOLR-14619) Avoid needless calls to
SolrIndexSearcher.getDocSet(query)
[ https://issues.apache.org/jira/browse/SOLR-14619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17188161#comment-17188161 ]
David Smiley commented on SOLR-14619:
-------------------------------------
I ran tests and see there is a failure on `org.apache.solr.cloud.DistribJoinFromCollectionTest.testNoScore` because it expected 1.0 but got 0.0 for the score. This relates to a matter I brought up on my ongoing fight to remove Filter -- that it scores as 0.0 when it should be 1.0 for consistency with nearly everything else. I brought this up on the dev list earlier this year. I filed an issue for it just now SOLR-14800 which should be for 9.0 and thus this issue here should be for 9.0 as well and depend on that one. I can turn 1.0 to 0.0 via a boost by 0.0 but can't go the other way, and don't care to write silly wrappers to accomplish it.
> Avoid needless calls to SolrIndexSearcher.getDocSet(query)
> ----------------------------------------------------------
>
> Key: SOLR-14619
> URL: https://issues.apache.org/jira/browse/SOLR-14619
> Project: Solr
> Issue Type: Improvement
> Components: search
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> There are places where we get a DocSet from a query (potentially cached) when we don't need to. This is a minor optimization but could simply also be viewed as a simplification.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org