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