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

David Smiley commented on SOLR-17665:
-------------------------------------

It may sound like heresy to say this, but SolrIndexSearcher should perhaps not 
even extend Lucene IndexSearcher (in Solr 10).  It seems to barely be used as 
one, yet it needs to create them for at least query limits; probably delegating 
for doing multiThreaded as well even though it doesn't do that today.  It may 
be overriding methods that we didn't take care to do so for a IndexSearcher it 
creates.  Such an issue would show itself clearly (and we'd fix it) if we made 
this transition. 

> Perf regression: overhead of multiThreaded=false should be nothing
> ------------------------------------------------------------------
>
>                 Key: SOLR-17665
>                 URL: https://issues.apache.org/jira/browse/SOLR-17665
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 9.7
>            Reporter: David Smiley
>            Priority: Major
>
> SOLR-13350 introduced {{multiThreaded}} query param, defaulting to false, 
> thus opt-in.  But there is still a serious performance impact; only setting 
> {{indexSearcherExecutorThreads}} to -1 in solr.xml mitigates the regression.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to