lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tskom <tsiedlac...@hotmail.co.uk>
Subject Re: softCommit doesn't work - ?
Date Thu, 25 Jul 2013 12:29:50 GMT
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.

Mime
View raw message