You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by hupadhyay <hu...@asite.com> on 2013/01/01 14:07:11 UTC
Solr 4.0 NRT Search
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?
Does It means commitWithin will not cause a hard commit?
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?
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.
RE: Solr 4.0 NRT Search
Posted by hupadhyay <hu...@asite.com>.
Thanks for this valuable explanation.
It was very helpful.
Best Regards
Hardik Upadhyay
From: Per Steffensen [via Lucene] [mailto:ml-node+s472066n4030004h86@n3.nabble.com]
Sent: Wednesday, January 02, 2013 2:10 PM
To: Hardik Upadhyay
Subject: Re: Solr 4.0 NRT Search
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.
>
________________________________
If you reply to this email, your message will be added to the discussion below:
http://lucene.472066.n3.nabble.com/Solr-4-0-NRT-Search-tp4029928p4030004.html
To unsubscribe from Solr 4.0 NRT Search, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4029928&code=aHVwYWRoeWF5QGFzaXRlLmNvbXw0MDI5OTI4fC0xMTQ1NDg2NTEw>.
NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-0-NRT-Search-tp4029928p4030007.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr 4.0 NRT Search
Posted by Per Steffensen <st...@designware.dk>.
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.
>