lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Per Steffensen <st...@designware.dk>
Subject Re: Solr 4.0 NRT Search
Date Wed, 02 Jan 2013 08:38:57 GMT
On 1/1/13 2:07 PM, hupadhyay wrote:
> I was reading a solr wiki located at
> http://wiki.apache.org/solr/NearRealtimeSearch
>
> It says all commitWithin are now soft commits.
>
> can any one explain what does it means?
Soft commit means that the documents indexed before the soft commit will 
become searchable, but not necessarily persisted and flushed to disk (so 
you might loose data that has only been soft-committed (not 
hard-committed) in case of a crash)
Hard commit means that the documents indexed before the hard commit will 
become searchable and persisted and flushed to disk
> Does It means commitWithin will not cause a hard commit?
Yes
>
> Moreover that wiki itself is insufficient,as feature is NRT.
>
> can any one list down the config steps to enable NRT in solr 4.0?
In your solrconfig.xml (sub-section " updateHandler") make sure that you 
have "autoSoftCommit" and/or "autoCommit" (hard commit) not commented 
out and that you have considered the values of maxDocs/maxTime. 
http://wiki.apache.org/solr/SolrConfigXml?#Update_Handler_Section
>
> Thanks
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-0-NRT-Search-tp4029928.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message