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

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 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 click

Re: Delete by Id in solr cloud

2022-06-28 Thread Satya Nand
Thanks, Peter, I am checking that, also UpdateRequest class seems to have methods that take routes as input. I will see if it helps. On Tue, Jun 28, 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 th

R: [suspected SPAM] Re: Semantic Knowledge Graph theoric question

2022-06-28 Thread Danilo Tomasoni
Thank you very much Alessandro. I will look into the code. Danilo Tomasoni Fondazione The Microsoft Research - University of Trento Centre for Computational and Systems Biology (COSBI) Piazza Manifattura 1, 38068 Rovereto (TN), Italy tomas...@cosbi.eu

Re: [suspected SPAM] Re: Semantic Knowledge Graph theoric question

2022-06-28 Thread Michael Gibney
It's hard to give a concrete answer without knowing the actual counts involved, but iiuc significantTerms and relatedness are basically equivalent (happy to be corrected here if I'm wrong). > the relatedness function is iffy at best ? -- not sure what is meant by this. It's a function, and afaict

R: [suspected SPAM] Re: Semantic Knowledge Graph theoric question

2022-06-28 Thread Danilo Tomasoni
Thank you very much Michael for your answer. Below the extra information you asked for, and a sample result QUERY INFORMATION query=covid back query = *:* fore query = mitochondria sample gene id ="57506" / "54205" facet code: "json.facet": "{'titles_gene': {'type': 'terms', 'field': 'titles_ge

Currency field type with payloads

2022-06-28 Thread Geren White
Hello all, I'm wondering if anyone has run into a scenario where they need a currency field type with conversion support but also regional pricing? Right now we are using the currency field type so we can support items in multiple currencies and convert the price at query time. We'd like to add su

SE fetch function

2022-06-28 Thread Kojo
I am upgrading from Solr 6.6 to 9.0 I have some SE working fine on 6.6, where I fetch some fields to enrich the gatherNodes fucntion result-set. Bellow is a much more simple example, where I am trying to fetch some fields: fetch(my_collection, search(my_collection, qt="/export", q=*:*, fl="numer

Re: SE fetch function

2022-06-28 Thread Joel Bernstein
There were changes in the behavior of Solr's local param syntax which affected the fetch expression. Check to see if there is a default defType set in the solrconfig for the /select handler. For fetch to work the qparser in. the /select handler needs to be the lucene qparser which is the default if

using childFilter to restrict "child" docs by "grandchild" information

2022-06-28 Thread Noah Torp-Smith
To explain my question, first some domain background. We have a search engine where users can search for materials they can borrow at their local library. Our top level documents are *works*. An example of a work could be "Harry Potter and the Philosopher's Stone". Examples of information stored

SOLR TRA Collection Question on recovery

2022-06-28 Thread Nikhilesh Jannu
Dear Users, We are using the SOLR TRA collection for capturing the logs. We are writing the logs to SOLR using the Rest API in a batch of 100 and also we are using SOFT commit interval of 15000 and Hard commit interval of 6. Solr Version : 8.11.1. When we restart the SOLR node in the cloud

R: [suspected SPAM] Re: Semantic Knowledge Graph theoric question

2022-06-28 Thread Danilo Tomasoni
Thank you very much Michael for your answer. Below the extra information you asked for, and a sample result QUERY INFORMATION query=covid back query = *:* fore query = mitochondria sample gene id ="57506" / "54205" facet code: "json.facet": "{'titles_gene': {'type': 'terms', 'field': 'titles_gen

Re: using childFilter to restrict "child" docs by "grandchild" information

2022-06-28 Thread Mikhail Khludnev
Hello, Noah. Could i be something like [child childFilter=$pidfilter limit=-1]&pidfilter=+pid.material_type:bog + instance.agency:94 +instance.status:onShelf ? On Wed, Jun 29, 2022 at 8:57 AM Noah Torp-Smith wrote: > To explain my question, first some domain background. We have a search > en