No, Solr Cloud automatically routes it to the correct shard. wunder
> On May 11, 2023, at 6:41 PM, Anjali Maurya > <anjali.maury...@indiamart.com.INVALID> wrote: > > But it needs a route parameter to find the right shard from where we need > to delete the document. > > On Tue, May 9, 2023 at 11:24 PM Walter Underwood <wun...@wunderwood.org> > wrote: > >> Leave off the routing and send multiple IDs. Solr Cloud will route then to >> the correct shards for you. This is just as fast as Solr Cloud reading the >> route parameter and sending it to the right shard. The whole point of Solr >> Cloud is that it manages shards and replicas for you. >> >> wunder >> Walter Underwood >> wun...@wunderwood.org >> http://observer.wunderwood.org/ (my blog) >> >>> On May 9, 2023, at 2:24 AM, Anjali Maurya >> <anjali.maury...@indiamart.com.INVALID> wrote: >>> >>> Hi all, >>> >>> We are using solr cloud (version 8.10). We are using deleteById which >> takes >>> the id and route value to delete the id from the specific shard. >> deleteById >>> takes only one value of id. >>> >>> I want to ask if there is any way to send multiple ids to deleteById with >>> route parameter and if can we send multiple update requests to one solr >>> request. >> >>