[
https://issues.apache.org/jira/browse/SOLR-6093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Pugh resolved SOLR-6093.
-----------------------------
Resolution: Won't Fix
We're removed the stream.file, stream.url, stream.body In solr 10. Please
reopen this issue if it remains in Solr 10 (and how this type of hting would be
done today!)
> delete docs only in a spec shard within a collection
> ----------------------------------------------------
>
> Key: SOLR-6093
> URL: https://issues.apache.org/jira/browse/SOLR-6093
> Project: Solr
> Issue Type: Improvement
> Components: contrib - Clustering
> Affects Versions: 4.6, 4.7
> Reporter: YouPeng Yang
> Priority: Minor
>
> Suppose to delete docs in a spec shard within a collection,using this the
> command
> [1]http://localhost:8082/solr/tv_201402/update?&stream.body=<delete><query>BEGINTIME:["2014-03-01
> 00:00:00" TO *]</query></delete>&shards=tv_201402&commit=true.
> As a result, all the docs over the collection which BEGINTIME is larger than
> 2014-03-01 00:00:00 were deleted.
> After I check the source code
> :DistributedUpdateProcessor.doDeleteByQuery.It shows that the _route_ and
> shard.keys can make work, which indeed works after I have try with the cmd:
> [2]http://10.1.22.1:8082/solr/tv_201402/update?stream.body=<delete><query>BEGINTIME:["2014-03-01
> 00:00:00" TO "2014-03-02
> 00:00:00"]</query></delete>&_route_=tv_201402&commit=true
> As the first request[1],I use the shards parameter hoping to delete docs only
> in the tv_201402, while the second request[1],it change to _route_ parameter
> .
> The purpose that I file the JIRA is that we should make it to be consist
> that the shards parameter should also can make request no distrib during
> updating just as some as searching.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]