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

David Smiley commented on SOLR-14376:
-------------------------------------

What you found there could be removed (the needless condition to check if 
filterQueries list is not empty) because it'll be cheap to go through this code 
path now.  I also observe that it appears that "fq" defaults to null and so 
it's kinda moot but not completely since a query string can parse to nothing.

> Optimize SolrIndexSearcher.getDocSet and getProcessedFilter for empty fq
> ------------------------------------------------------------------------
>
>                 Key: SOLR-14376
>                 URL: https://issues.apache.org/jira/browse/SOLR-14376
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Major
>             Fix For: 8.6
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> If either SolrIndexSearcher.getDocSet or getProcessedFilter are called with 
> an null/empty query list, we should be able to short-circuit this with a 
> getLiveDocSet response.  Today getDocSet builds up a new DocSet, bit by bit 
> :-/



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to