Solr partial highlighting

2023-05-09 Thread Thiviyaraj T.
Hi, I’m facing issue when it comes to partial highlighting in the response. I have enabled the highlighting in schema.xml. For example there is a document starts with "Test", currently when I search for "Test", the document's "Test" part gets highlighted but when I search "Tes" it doesn't get hig

streaming expressions - sharding memory usage

2023-05-09 Thread Sergio García Maroto
Hi, I am working currently on implementing sharding on current Solr Cloud Cluster. Main idea is to be able to scale horizontally. At the moment, without sharding we have all collections sitting on all servers. We have as well pretty heavy streaming expressions returning many ids. Average of 300,0

deleteById for multiple ids with route parameter

2023-05-09 Thread Anjali Maurya
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

Handling OOM error

2023-05-09 Thread Anjali Maurya
Hi all, We faced an out-of-memory error on 3 nodes of a Solr cloud cluster. There is an oom_solr script in the solr binary to kill the solr on out-of-memory error. How this script works and is there any setting we need to do for this?

Re: deleteById for multiple ids with route parameter

2023-05-09 Thread Walter Underwood
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 Un

Re: Handling OOM error

2023-05-09 Thread Anjali Maurya
In solr cloud cluster, we got OOM error for 3 node. When I checked the logs, oom_solr script was executed for only 2 nodes. I want to ask why it was executed for 2 nodes and not for 3rd node when we got OOM error for 3 node. How can we be sure about the oom_solr script or it there any setting we

deleteById for multiple ids with route parameter

2023-05-09 Thread Anjali Maurya
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

Re: Handling OOM error

2023-05-09 Thread Shawn Heisey
On 5/8/23 18:36, Anjali Maurya wrote: In solr cloud cluster, we got OOM error for 3 node. When I checked the logs, oom_solr script was executed for only 2 nodes. I want to ask why it was executed for 2 nodes and not for 3rd node when we got OOM error for 3 node. How can we be sure about the oom

Re: Debug time spent in aggregating the search results

2023-05-09 Thread Rajani Maski
What could be the reason for the missing metric? Where else can I look for that datapoint? I am trying to figure out the time spent in aggregating the query results. On Thu, May 4, 2023 at 9:37 PM Rajani Maski wrote: > > Solr version* 9.1.1* > > > Query - > > solr/admin/metrics?nodes=all&wt=jso

RE: deleteById for multiple ids with route parameter

2023-05-09 Thread Subhasis Patra
Yes Anjali, I have used UpdateRequest. deleteById (List) . I don’t face any issues. Not sure what you mean when you say route value. Id is unique. Thanks Subhasis Patra 240-755-2601 subhasis.pa...@e2open.com -Original Message- From: Anjali Maurya Sent: Sunday, May 7, 2023 11:56 PM To

Re: streaming expressions - sharding memory usage

2023-05-09 Thread Joel Bernstein
Can you share the expressions? Then we can discuss where the sharding comes into play. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, May 9, 2023 at 1:17 PM Sergio García Maroto wrote: > Hi, > > I am working currently on implementing sharding on current Solr Cloud > Cluster. > Main idea