Re: knn query parser, number of results and filtering by score

2023-10-20 Thread Alessandro Benedetti
I agree, you can definitely raise a bug for the debug, if you do me a favour and also test in no Cloud mode, it will help us to understand if it's a Solr bug or Lucene bug. I also agree with your second point about the functional expectations, that is a very minor though, you can create the ticket

Re: Trouble with ZK Status and TLS

2023-10-20 Thread Jamie Gruener
Thank you! Bummed that this isn't working but very relieved that I can stop trying to fix it. Thanks, --Jamie On 10/19/23, 4:46 PM, "Jan Høydahl" mailto:jan@cominvent.com>> wrote: CAUTION: This email originated from outside of biospatial. Do not click links or open attachments unless

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread Dmitri Maziuk
On 10/19/23 18:48, David Filip wrote: My goal is to replicate content from one to the other, so that I can take one down (e.g., solr1) and still search current collections (e.g., on solr2). You need a proxy host, it can be anything from apache to F5, configured to pass requests to Solr nodes

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread David Filip
Dima, Thanks for the reply! However, this does not quite answer my question, as far as I can tell. I am very familiar with network proxies, and have both Nginx proxy (externally facing) and Apache (internal load balancing) on my network. I am comfortable with how to distribute search queries

RE: Newbie Help: Replicating Between Two SolrCloud Instances (Solr9.2.1)

2023-10-20 Thread ufuk yılmaz
Hi Dave, Solr knows how to replicate the index accross nodes like you said, but in order to do that all solrcloud nodes should connect to the same Zookeeper cluster, or else how could they know about each other? You can make Zookeeper cluster distributed across N nodes so it’s not a single poi

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread Dmitri Maziuk
On 10/20/23 11:27, David Filip wrote: Dima, Thanks for the reply! However, this does not quite answer my question, as far as I can tell. My fundamental question — and sorry if this was not clear — is how to I keep the indices (collections) in-sync across nodes? If you post updates to the

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread Meghan Boyd
>On Thu, Oct 19, 2023 at 7:50 PM David Filip wrote >Although from what I’ve read, I think (?) that with SolrCloud that master/slave concept goes away, and one node now becomes a leader? But I may be confused about that ... You can read about why this change was made in SOLR-14702

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr9.2.1)

2023-10-20 Thread David Filip
Thanks - yes, that is what I am trying to do. However, I am not clear on how to add nodes to the Zookeeper included with Solr. I think the problem I am having is that the zoo.cfg file include with Solr: $ cat server/solr/zoo.cfg Does not ave any ’server.x’ lines, and I’m having trouble trying

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread Shawn Heisey
On 10/19/23 17:48, David Filip wrote: I think I am getting confused between differences in Solr versions (most links seem to talk about Solr 6, and I’ve installed Solr 9), and SolrCloud vs. Standalone, when searching the ’Net … so I am hoping that someone can point me towards what I need to d

Re: Remove duplicates in destination of copy field

2023-10-20 Thread Chris Hostetter
copyField -- at a schema level -- is a very low level operation that happens at the moment the documents are being added to the index (long after he update processor chains are run) More complicated logic and/around copying values from one field to another as part of an update processor chain

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread David Filip
Shawn, Understand about redundancy and needing an odd number of nodes (I’ve used quorum in other (non-Solr) type of clusters, so I get it). So what I’ve done now is installed ZooKeeper on a separate (physical) node (so no longer using ZooKeeper bundled with Solr, since that was causing come co

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread Andy C
Hi Dave, The zoo.cfg does not reference Solr at all. Each Zookeeper instance has 3 ports of note: - The "client port" that accepts requests from external clients (in this case Solr) - Two ports used for internal zookeeper to zookeeper communication The client port is configured by the

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread Shawn Heisey
On 10/20/23 13:34, David Filip wrote: Understand about redundancy and needing an odd number of nodes (I’ve used quorum in other (non-Solr) type of clusters, so I get it). So what I’ve done now is installed ZooKeeper on a separate (physical) node (so no longer using ZooKeeper bundled with Solr,

[Operator] [ANNOUNCE] Apache Solr Operator v0.8.0 released

2023-10-20 Thread Jason Gerlowski
The Apache Solr PMC is pleased to announce the release of the Apache Solr Operator v0.8.0. The Apache Solr Operator is a safe and easy way of managing a Solr ecosystem in Kubernetes. This release contains numerous bug fixes, optimizations, and improvements, some of which are highlighted below. Th

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread David Filip
Shawn, Thanks for this. I will try dig further into the ZooKeeper documentation. From a matter of perspective, however, I think what I am not clear on is having more than one ZK “server”, and when and why I would need more than one? Perhaps it is just terminology, but if I have three (3x) Solr

RE: Newbie Help: Replicating Between Two SolrCloud Instances (Solr9.2.1)

2023-10-20 Thread ufuk yılmaz
To answer simply, Zookeeper and Solr are just two different distibuted applications. Zookeeper is used in a lot of different places where synchronization between distributed systems is needed. If you need to coordinate data between your own application instances you can use it too. SolrCloud is

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread Dmitri Maziuk
On 10/20/23 18:23, David Filip wrote: Shawn, Thanks for this. I will try dig further into the ZooKeeper documentation. From a matter of perspective, however, I think what I am not clear on is having more than one ZK “server”, and when and why I would need more than one? Solr doesn't talk t

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread David Filip
Thanks - I think I understand now. > On Oct 20, 2023, at 7:51 PM, Dmitri Maziuk wrote: > > On 10/20/23 18:23, David Filip wrote: >> Shawn, >> Thanks for this. I will try dig further into the ZooKeeper documentation. >> From a matter of perspective, however, I think what I am not clear on is >>

Re: Newbie Help: Replicating Between Two SolrCloud Instances (Solr 9.2.1)

2023-10-20 Thread Dmitri Maziuk
On 10/20/23 18:52, David Filip wrote: Thanks - I think I understand now. That whole "cloud" thing is great, I'm sure, but honestly: if I don't have the load to balance or servers that fall down and cry every time a mouse moves, I have hard time figuring out why spend time and effort. Unles