Re: How to delete docs only in a spec shard within a collection

2014-05-19 Thread YouPeng Yang
: Monday, May 19, 2014 3:46 AM > To: solr-user@lucene.apache.org > Subject: Re: How to delete docs only in a spec shard within a collection > > > Hi > Anyone gives some suggestions. > > > Regards > > > 2014-05-19 11:31 GMT+08:00 YouPeng Yang : > > Hi &

Re: How to delete docs only in a spec shard within a collection

2014-05-19 Thread Jack Krupansky
; -- Jack Krupansky -Original Message- From: YouPeng Yang Sent: Monday, May 19, 2014 3:46 AM To: solr-user@lucene.apache.org Subject: Re: How to delete docs only in a spec shard within a collection Hi Anyone gives some suggestions. Regards 2014-05-19 11:31 GMT+08:00 YouPeng Yang

Re: How to delete docs only in a spec shard within a collection

2014-05-19 Thread YouPeng Yang
Hi I have checked the src in DistributedUpdateProcessor.doDeleteByQuery(DeleteUpdateCommand cmd) as[1] According to the source code,it seems that ShardParams._ROUTE_ (_route_) and the ShardParams.SHARD_KEYS(shard.keys) would be used to find the right shard. Compared to my last two posts,the

Re: How to delete docs only in a spec shard within a collection

2014-05-19 Thread YouPeng Yang
Hi Anyone gives some suggestions. Regards 2014-05-19 11:31 GMT+08:00 YouPeng Yang : > Hi > I have a colloection with 3 shards. > I want to delete some docs in one shard with the command: > > > http://10.1.22.1:8082/solr/tv_201402/update?&stream.body=BEGINTIME:["2014-03-01 > 00:00:00"