Re: Delete by Id in solr cloud

2022-06-30 Thread Jeryl Cook
2022 at 3:19 PM Peter Lancaster < > > > peter.lancas...@findmypast.com> wrote: > > > > > > > Hi Satya, > > > > > > > > I think you would need to use a HttpSolrClient that uses the url of > the > > > > shard where the record e

Re: Delete by Id in solr cloud

2022-06-30 Thread Satya Nand
would need to use a HttpSolrClient that uses the url of the > > > shard where the record exists. > > > > > > Regards, > > > Peter. > > > > > > -Original Message- > > > From: Satya Nand > > > Sent: 28 June 2022 10:43 > > &

Re: Delete by Id in solr cloud

2022-06-30 Thread Satya Nand
o use a HttpSolrClient that uses the url of the > > > shard where the record exists. > > > > > > Regards, > > > Peter. > > > > > > -Original Message- > > > From: Satya Nand > > > Sent: 28 June 2022 10:43 > > > To: user

Re: Delete by Id in solr cloud

2022-06-29 Thread r ohara
t that uses the url of the > > shard where the record exists. > > > > Regards, > > Peter. > > > > -Original Message- > > From: Satya Nand > > Sent: 28 June 2022 10:43 > > To: users@solr.apache.org > > Subject: Re: Delete by Id in solr clou

Re: Delete by Id in solr cloud

2022-06-28 Thread Satya Nand
lient that uses the url of the > shard where the record exists. > > Regards, > Peter. > > -Original Message- > From: Satya Nand > Sent: 28 June 2022 10:43 > To: users@solr.apache.org > Subject: Re: Delete by Id in solr cloud > > EXTERNAL SENDER: Do not

RE: Delete by Id in solr cloud

2022-06-28 Thread Peter Lancaster
Hi Satya, I think you would need to use a HttpSolrClient that uses the url of the shard where the record exists. Regards, Peter. -Original Message- From: Satya Nand Sent: 28 June 2022 10:43 To: users@solr.apache.org Subject: Re: Delete by Id in solr cloud EXTERNAL SENDER: Do not

Re: Delete by Id in solr cloud

2022-06-28 Thread Satya Nand
Hi Radu, I am using solrj for executing the query. I couldn't find any function with accepts additional parameters like routing, shards, solr Params etc. I also tried delete by query instead of deleteById, But it is very slow. https://solr.apache.org/docs/8_1_0/solr-solrj/org/apache/solr/client/

Re: Delete by Id in solr cloud

2022-06-28 Thread Radu Gheorghe
Hi Satya, I didn't try it, but does it work if you add "shards=shard1,shard2..." to the request? Worst case scenario, if you have the address of each shard (you can get it from Zookeeper), you can run the delete command N times, one hitting each shard address. Best regards, Radu -- Elasticsearch

Delete by Id in solr cloud

2022-06-27 Thread Satya Nand
Hi, I have an 8 shards collection, where I am using *compositeId* routing with *router.field *(a field named parentglUsrId). The unique Id of the collection is a different field *displayid*. I am trying a delete by id operation where I pass a list of displayids to delete. I observed that no docum