Re: How to run Solr on two servers for redundancy

2022-03-14 Thread Sam Lee
On 2022/03/13 21:33:55 Dave wrote: > You’re on the right idea, in my opinion. Three identical “slave” > servers with one “master” ... Thank you for the suggestion. I have a few questions: * Are you suggesting to use standalone Solr instead of SolrCloud? * Why does this setup require 4 servers (1

Re: How to run Solr on two servers for redundancy

2022-03-14 Thread Sam Lee
On 2022/03/13 22:22:48 Shawn Heisey wrote: > Zookeeper has fairly low system requirements compared to Solr, so using > a third machine with lower specs to just run the tie-breaker ZK is a > good way to go. > > Note that you'll only have full redundancy at the client level with that > setup if your

RE: Question regarding the MoreLikeThis features

2022-03-14 Thread Marco D'Ambra
Hi Tim, thank you very much for the answer, full of useful advice. I will try to put into practice what you told me to improve the output of the calls. Regarding the specific problem on the existence of a specific parameter to restrict the corpus of documents that are analyzed for the return of

Re: How to run Solr on two servers for redundancy

2022-03-14 Thread Eric Pugh
Let me propose a slightly different approach ;-) Since you don’t need Solrcloud to support scaling needs, but instead for redundancy, then I like to set things up where my indexer just sends the updates to TWO SEPARATE single server Solr nodes. This is great for a number of reasons: 1) Green/

Re: Joining 2 collections in SolrCloud setup

2022-03-14 Thread Mikhail Khludnev
Hello, Venkat Join is not proposed to return both sides, but only "to"-side. You can either copy collection2 docs into collection1 docs (that ridiculous) or apply https://solr.apache.org/guide/6_6/transforming-result-documents.html#TransformingResultDocuments-_subquery_ . However, it applies to r

Re: Solr Collections Join

2022-03-14 Thread Mikhail Khludnev
Hi, Venkat. No way. Sorry. On Fri, Mar 11, 2022 at 4:59 PM Venkateswarlu Bommineni wrote: > Yes, it is solrcloud setup. > > On Fri, Mar 11, 2022 at 12:57 AM Srijan wrote: > > > Is this a SolrCloud setup? > > > > On Thu, Mar 10, 2022, 22:25 Venkateswarlu Bommineni > > wrote: > > > > > Hello All

Re: How to run Solr on two servers for redundancy

2022-03-14 Thread Shawn Heisey
On 3/13/22 23:28, Sam Lee wrote: By "standalone client", do you mean that I could use SolrJ on a separate server where no Solr instance is running? i.e. use the client to remotely connect to SolrCloud. SolrJ is an inherent part of Solr.  But it is also a complete library by itself, which Java

Re: Sorting nested document

2022-03-14 Thread Mikhail Khludnev
Hello, May https://solr.apache.org/guide/8_0/function-queries.html#childfield-field-function work in your case? On Tue, Mar 8, 2022 at 3:11 PM Pranaya Behera wrote: > I have the documents as parent-child relationship: > https://gist.github.com/shadow-fox/fb525a7efe66622230e61d6253b6cfa9 > > How

Re: Question regarding the MoreLikeThis features

2022-03-14 Thread Tim Casey
Hi, > Regarding the specific problem on the existence of a specific parameter to restrict the corpus of documents that are analyzed for the return of similar contents If you can get this to be a query, and one which might be ordered in a useful way, then you are very likely to see what you need i

Re: Solr Collections Join

2022-03-14 Thread Norbert Kutasi
hi Venkat, We are on SOLR 8.5.2 and actually it's possible to join 2 or multiple collections and get fields from them similarly, what a Left Outer join does in an RDBMS. It will create nested documents rather than attribute merges which might not be what you are looking for. If you tried *subquer