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 <yypvsxf19870...@gmail.com>wrote:

> 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.commit();
>
> It seems not to work.
> I also have do some google,unfortunately there is no help.
>
> Do I miss anything?
>
>
> Thanks
>
> Regard
>

Reply via email to