Re: Shard leadership best practice in Solr 8

2021-11-01 Thread Saur, Alexandre (ELS-AMS)
Hi Houston, I forgot to mention that we are using NRT in all replicas. My major concern is not during normal operation, but rather in case of problems. Imagine a situation where there are so many indexing/reading operations that the Solr cluster starts to lag. In that scenario, we noticed that

Re: Shard leadership best practice in Solr 8

2021-11-01 Thread Houston Putman
If you are using NRT replicas, then I don't imagine there is going to be a huge difference in resource usage between leader replicas and follower replicas. They are all receiving all documents, and indexing/committing locally. If you are using TLOG/PULL replicas, then I would recommend splitting y

Re: Can Solr 8.10 S3BackupRepository work without a shared NFS drive?

2021-11-01 Thread Houston Putman
To answer your first question, yes, the S3BackupRepository connects directly to S3. There is no need to have any shared storage. The next version of the Solr Operator (v0.5.0) will actually make this very easy to enable on Kubernetes clusters, such as EKS. I am not sure about the answer to your se

RE: Boost query with phrase slop

2021-11-01 Thread Thamizhazhagan B
Hi, To achieve the below requirement, thought to use "Shingle filter". Can you please correct if I am wrong. User input: solr query analysis Results : (in same order) - exact match at top following by partial match then by individual words Solr query analysis is the best practice solr query

Re: Solr & Kubernetes - how to configure the liveness

2021-11-01 Thread Jan Høydahl
If recovery failed, then that core is dead, it has given up. So if an agent has just restarted or started a node, then it will wait until all cores have a "stable" or "final" state, before it declares the NODE as healthy, and consider restarting other nodes. If a core (replica of a shard in a col

Re: Odd replication issue with 7.7.3

2021-11-01 Thread Nick Vladiceanu
Try looking into "/solr/admin/autoscaling” setting, it might have an autoscaling option to add new replicas automatically. > On 1. Nov 2021, at 3:13 PM, Michael Conrad wrote: > > Update: > > It removed replica solr-0001 and now I have the leader and replica on the > same node? > > -Mike/News

Re: Odd replication issue with 7.7.3

2021-11-01 Thread Michael Conrad
Update: It removed replica solr-0001 and now I have the leader and replica on the same node? -Mike/NewsRx On 11/1/21 10:04, Michael Conrad wrote: Is there a particular reason a cluster would start adding replicas over and over, some times multiple ones on the same node? As I have as an exa

Odd replication issue with 7.7.3

2021-11-01 Thread Michael Conrad
Is there a particular reason a cluster would start adding replicas over and over, some times multiple ones on the same node? As I have as an example: I have a shard on node solr-0002 [leader] with a replica at node solr-0001 which just had a replica auto added at node solr-0002. So it now ha

Re: Solr & Kubernetes - how to configure the liveness

2021-11-01 Thread Vincenzo D'Amore
Hi, thanks, this is really helpful. I'll have a look. On Wed, Oct 27, 2021 at 6:36 PM Houston Putman wrote: > Vincenzo, > > If you use the Solr Operator , it will > manage the upgrades for you in a safe manner (waiting for x number of > replicas to be healthy b

Re: Search inside parent and nested documents

2021-11-01 Thread govind nitk
Can anyone help in using multiple query parsers ? On Sun, Oct 31, 2021 at 8:42 AM govind nitk wrote: > in case of subquery, I used {!terms } query and able to get the sql-join > like operation. > > Can we use multiple query parsers in query ? > Ex. child.q={!dismax ... } {!terms ..} > where dism