I have a solrconfig.xml file as follows:

<updateHandler class="solr.DirectUpdateHandler2">
    <autoSoftCommit>
        <maxTime>2000</maxTime>
    </autoSoftCommit>
    <autoCommit>
        <maxTime>20000</maxTime>
        <openSearcher>false</openSearcher>
    </autoCommit>
    <updateLog>
        <str name="dir">${solr.ulog.dir:}</str>
    </updateLog>
</updateHandler>

But I also submit records with a 'commitWithin' of 10 seconds. It seems
that my documents are not searchable with the soft commit every second, but
rather with the commitWithin or the hard commit. Is the 'commitWithin'
setting taking precedence over the autoSoftCommit timer?

Reply via email to