First, I would upgrade to 4.2.1 and remember to change <luceneMatchVersion> to 
LUCENE_42.

There were a LOT of fixes between 4.0 and 4.2.1.

wunder

On May 2, 2013, at 12:16 AM, vicky desai wrote:

> Hi,
> 
> I am using 1 shard and two replicas. Document size is around 6 lakhs 
> 
> 
> 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> 
>               </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-tp4060396p4060402.html
> Sent from the Solr - User mailing list archive at Nabble.com.

--
Walter Underwood
wun...@wunderwood.org



Reply via email to