Re: Documents cannot be searched immediately when indexed using REST API with Solr Cloud

2015-03-19 Thread Zheng Lin Edwin Yeo
Thank you for the information. Yes, the program is working correctly now and I can search for the documents immediately after issuing commit=true. Regards, Edwin On 20 March 2015 at 04:07, Erick Erickson wrote: > The post jar issues a hard commit (openSearcher=true) as part of the > operation

Re: Documents cannot be searched immediately when indexed using REST API with Solr Cloud

2015-03-19 Thread Erick Erickson
The post jar issues a hard commit (openSearcher=true) as part of the operation. As Liu says, you are probably not committing the changes after ingestion. You can issue this from a browser: .solr/collection/update?commit=true to force a commit manually. Best, Erick On Thu, Mar 19, 2015 at 3:5

Re: Documents cannot be searched immediately when indexed using REST API with Solr Cloud

2015-03-19 Thread Liu Bo
Hi Edvin Please review your commit/soft-commit configuration, "soft commits are about visibility, hard commits are about durability" by a wise man. :) If you are doing NRT index and searching, your probably need a short soft commit interval or commit explicitly in your request handler. Be a