Re: deleteByQuery does not work with SolrCloud

2013-10-25 Thread Erick Erickson
Sorry for the late reply, traveling yesterday... That is odd on the surface of it. Try tailing out the solr log when you fire your SolrJ query to make sure the query even gets to Solr, perhaps something about how you try to route it goes to a place you don't intend... I'm guessing it's just a cop

Re: deleteByQuery does not work with SolrCloud

2013-10-23 Thread YouPeng Yang
Hi Erick It can get hits on this documents. And I try this : myhost/solr/mycore/update?stream.body=name:shardTv_20131010&commit=true the document could be deleted. Regards 2013/10/23 Erick Erickson > The first thing I'd do is go in to the browser UI and make sure you can get > hits o

Re: deleteByQuery does not work with SolrCloud

2013-10-23 Thread Erick Erickson
The first thing I'd do is go in to the browser UI and make sure you can get hits on documents, something like blah/collection/q=indexname:shardTv_20131010 Best, Erick On Wed, Oct 23, 2013 at 8:20 AM, YouPeng Yang wrote: > Hi > I am using SolrCloud withing solr 4.4 ,and I try the SolrJ API > d

deleteByQuery does not work with SolrCloud

2013-10-22 Thread YouPeng Yang
Hi I am using SolrCloud withing solr 4.4 ,and I try the SolrJ API deleteByQuery to delete the Index as : CloudSolrServer cloudServer = new CloudSolrServer(myZKhost) cloudServer.connect() cloudServer.setDefaultCollection cloudServer.deleteByQuery("indexname:shardTv_20131010"); cloudServer.com