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

Jason Rutherglen commented on SOLR-2809:
----------------------------------------

In RT the searchers are cheap.  The easiest approach would be to record the 
segments and max doc ids used to satisfy phase 1 of a given distributed query, 
then send that signature back in subsequent phases.  The retry would only be 
necessary in the infrequent case of a merge have occurred.

With NRT it's probably best to implement a searcher policy similar to index 
deletion policy.  Then any timeout / searcher removal system can be implemented 
by the user, rather than dictated by Solr.  

The described searcher management system belongs in a module in Lucene rather 
than Solr, probably in one of Mike's new classes.
                
> searcher leases
> ---------------
>
>                 Key: SOLR-2809
>                 URL: https://issues.apache.org/jira/browse/SOLR-2809
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>
> Leases/reservations on searcher instances would give us the ability to use 
> the same searcher across phases of a distributed search, or for clients to 
> send multiple requests and have them hit a consistent/unchanging view of the 
> index. The latter requires something extra to ensure that the load balancer 
> contacts the same replicas as before.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to