SolrCloud: only partial results returned
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 post request again or shutdown solr instance and restart, the complete results will be returned. We have tried adding "distrib=true" in query or even adding "shards=.". Still, only partial results are returned. This happened with embeded zookeepers too. However, this doesn't seem to happen if you add data with xml in tutorial samples. Any thoughts on what might be wrong or is it a known issue? Thanks, Lili -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-only-partial-results-returned-tp4028200.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: SolrCloud: only partial results returned
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 -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-only-partial-results-returned-tp4028200p4028367.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: SolrCloud: only partial results returned
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-results-returned-tp4028200p4028683.html Sent from the Solr - User mailing list archive at Nabble.com.