lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Teofili (JIRA)" <>
Subject [jira] [Updated] (SOLR-5826) Request caching SolrServer
Date Fri, 07 Mar 2014 10:33:42 GMT


Tommaso Teofili updated SOLR-5826:

    Attachment: SOLR-5826.patch

attached first draft patch which introduces a RequestCachingSolrServer.
It still needs to be improved to switch from active to passive wait for consuming cached requests.
The testcase needs to be adjusted as it only works for me from IDE (strangely failing from
ant due to File permissions on the index ..).

> Request caching SolrServer
> --------------------------
>                 Key: SOLR-5826
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: clients - java
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>             Fix For: 5.0
>         Attachments: SOLR-5826.patch
> As stated in there're scenarios where an
application communicating with Solr needs to not loose requests (especially update/indexing
requests) that may fail because Solr instance / cluster is not reachable for some time.
> For such scenarios it may helpful to have a wrapping SolrServer which can cache (in a
FIFO queue, so that they get executed in order) requests when the Solr endpoint is not reachable
and execute them as soon as it's reachable again.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message