[ 
https://issues.apache.org/jira/browse/SOLR-6831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Molloy updated SOLR-6831:
-------------------------------
    Attachment: SOLR-6831.patch

First attempt at a patch. Went with route of checking shouldExit() as changing 
logic to let exception propagate from SolrIndexSearcher opened too much changes 
everywhere. 

> Make facet pivots respect timeout from SolrQueryTimeoutImpl
> -----------------------------------------------------------
>
>                 Key: SOLR-6831
>                 URL: https://issues.apache.org/jira/browse/SOLR-6831
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Steve Molloy
>         Attachments: SOLR-6831.patch
>
>
> SOLR-5986 allows most queries to timeout cleanly using the 
> ExitableDirectoryReader. In the case of facet pivots though, the exception is 
> caught in SolrIndexSearcher's getDocSetNC while building pivots, resulting in 
> numerous lookups, most of which failing, but overall still running for a long 
> time and eating up resources. It should respect the timeAllowed just like any 
> other request.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to