Re: SolrCloud: only partial results returned

2012-12-21 Thread Lili
I am using the follow command with commit: curl 'http://:/solr/update/json?commit=true' --data-binary @books.json -H 'Content-type:application/json' So I assume this is hard commit? Thanks, Lili -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-only-partial-res

Re: SolrCloud: only partial results returned

2012-12-21 Thread Erick Erickson
I've been bitten by caching before too, server-level, browser level, whatever-level.. FWIW, Erick On Fri, Dec 21, 2012 at 7:06 AM, Per Steffensen wrote: > Are you using (soft) auto-commit or do you perform a manual commit after > the documents have been indexed? You can index documents, but th

Re: SolrCloud: only partial results returned

2012-12-21 Thread Per Steffensen
Are you using (soft) auto-commit or do you perform a manual commit after the documents have been indexed? You can index documents, but they wont be searchable before a (soft) commit has been performed. Even if you are running with (soft) auto-commit there is not guarantee that the documents are

Re: SolrCloud: only partial results returned

2012-12-20 Thread Lili
Mark, yes, they have unique ids. Most the time, after the 2nd json http post, query will return complete results. I believe the data was indexed already with 1st post since if I shutdown the solr after 1st post and restart again, query will return complete result set. Thanks, Lili -- Vi

Re: SolrCloud: only partial results returned

2012-12-20 Thread Mark Miller
Does all the data have unique ids? - Mark On Dec 19, 2012, at 8:30 PM, Lili wrote: > We set up SolrCloud with 2 shards and separate multiple zookeepers. The > data added using http post with json in tutorial sample are not completely > returned in query.However, if you send the same http