By definition, the autocommit interval defines when you can
search on documents you've added. Items should be
searchable after 10 seconds. Take a look at the logs to see
the commit messages....

Best
Erick

On Thu, Jul 25, 2013 at 8:29 AM, tskom <tsiedlac...@hotmail.co.uk> wrote:
> My actual solconfig.xml is:
>
> <updateHandler class="solr.DirectUpdateHandler2">
>     <updateLog>
>        <str name="dir">${solr.ulog.dir:}</str>
>     </updateLog>
>     <autoCommit>
>        <maxTime>10000</maxTime>
>        <openSearcher>true</openSearcher>
>     </autoCommit>
> </updateHandler>
>
> I tried (solrj 4.3.1) and after 10 sec I got results:
>
> 1) server.add(doc) - nothing in index
>
> 2) server.add(doc, 10000) - nothing in index
>
> 3) server.add(doc) and server.commit() - all fine, but I don't want to
> hardcommit after each document !
>
> Any additional sugestions ?
>
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/softCommit-doesn-t-work-tp4079578p4080319.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to