Re: Hard Commit not working

2015-07-30 Thread Jack Krupansky
Please be more specific as to why you think something is not working. -- Jack Krupansky On Thu, Jul 30, 2015 at 10:43 AM, Nitin Solanki wrote: > Hi, >I am trying to index documents using solr cloud. After setting, > to 6 ms in hard commit. Documents are visible instantly while > ad

Re: Hard Commit not working

2015-07-30 Thread Edward Ribeiro
Most probably because your solrconfig.xml is setting maxDocs for 1: 1. Then Solr will autoCommit EITHER with 1 document or after has passed. Change your value in solrconfig.xml to 1, don't forget to RELOAD the core, then test it again. On Thu, Jul 30, 2015 at 12:13 PM, Nitin Solanki wrote

Re: Hard Commit not working

2015-07-30 Thread Nitin Solanki
Hi Edwards, I am only sending 1 document for indexing then why it is committing instantly. I gave to 6. On Thu, Jul 30, 2015 at 8:26 PM Edward Ribeiro wrote: > Your is set to 1. This is the number of pending docs before > autocommit is triggered too. You should set it to

Re: Hard Commit not working

2015-07-30 Thread Edward Ribeiro
Your is set to 1. This is the number of pending docs before autocommit is triggered too. You should set it to a higher value like 1, for example. Edward Em 30/07/2015 11:43, "Nitin Solanki" escreveu: > Hi, >I am trying to index documents using solr cloud. After setting, > to 6