Hi,

you can use:


   -

   waitSearcher = "true" | "false" — default is true — block until a new
   searcher is opened and registered as the main query searcher, making the
   changes visible.

on the commit request.

Dmitry



On Wed, Aug 13, 2014 at 3:06 PM, M, Arjun (NSN - IN/Bangalore) <
arju...@nsn.com> wrote:

> Hi,
>
>         I have a query regarding solr commits. We have a use case where we
> immediately query solr db after committing. We found that some data is
> missing as part of query results. We are predicting that commit wouldn't
> have completed when we query the solr db.
>
> Our solr commit config as follows.
>
> <autoCommit>
>         <maxDocs>100</maxDocs>
>                 <maxTime>1000</maxTime>
>        <openSearcher>true</openSearcher>
>      </autoCommit>
>
> I have below question:
>
> -       Is there a way to ensure that commit is completed before we query
> the database or proceed with further commits?
>
> Any help here is highly appreciated..
>
>
> Thanks & Regards,
>         Arjun M
>
>
>
>
>


-- 
Dmitry Kan
Blog: http://dmitrykan.blogspot.com
Twitter: http://twitter.com/dmitrykan
SemanticAnalyzer: www.semanticanalyzer.info

Reply via email to