My solrconfig.xml is as follows

<?xml version="1.0" encoding="UTF-8" ?>
<config>
        <luceneMatchVersion>LUCENE_40</luceneMatchVersion>
        <indexConfig>

                
                <maxFieldLength>2147483647</maxFieldLength>
                <lockType>simple</lockType>
                <unlockOnStartup>true</unlockOnStartup>
        </indexConfig>
        <updateHandler class="solr.DirectUpdateHandler2">
                <autoSoftCommit>
                        <maxDocs>500</maxDocs>
                        <maxTime>1000</maxTime>
                </autoSoftCommit>
                <autoCommit>
                        <maxDocs>50000</maxDocs> 
                        <maxTime>300000</maxTime> 
                        <openSearcher>false</openSearcher>
                </autoCommit>
        </updateHandler>

        <requestDispatcher handleSelect="true" >
                <requestParsers enableRemoteStreaming="false"
multipartUploadLimitInKB="204800" />
        </requestDispatcher>

        <requestHandler name="standard" class="solr.StandardRequestHandler"
default="true" />
        <requestHandler name="/update" class="solr.UpdateRequestHandler" />
        <requestHandler name="/admin/"
class="org.apache.solr.handler.admin.AdminHandlers" />
        <requestHandler name="/replication" class="solr.ReplicationHandler" />
        <directoryFactory name="DirectoryFactory"
class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}" /> 
        <enableLazyFieldLoading>true</enableLazyFieldLoading>
        <admin>
                <defaultQuery>*:*</defaultQuery>
        </admin> 
</config>



--
View this message in context: 
http://lucene.472066.n3.nabble.com/commit-in-solr4-takes-a-longer-time-tp4060396p4060628.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to