RE: [solr8.7] not relevant results for chinese query

2021-01-11 Thread Bruno Mannina
Hi, With this article ( https://opensourceconnections.com/blog/2011/12/23/indexing-chinese-in-solr/ ), I begin to understand what happens. Is someone have already try, with a recent SOLR, the Poading algorithm? Thanks, Bruno -Message d'origine- De : Bruno Mannina [mailto:bmann...@fre

Apache Solr in High Availability Primary and Secondary node.

2021-01-11 Thread Kaushal Shriyan
Hi, We are running Apache Solr 8.7.0 search service on CentOS Linux release 7.9.2009 (Core). Is there a way to set up the Solr search service in High Availability Mode in the Primary and Secondary node? For example, if the primary node is down secondary node will take care of the service. Best R

RE: Apache Solr in High Availability Primary and Secondary node.

2021-01-11 Thread DAVID MARTIN NIETO
I believe Solr dont have this configuration, you need a load balancer with that configuration mode for that. Kind regards. De: Kaushal Shriyan Enviado: lunes, 11 de enero de 2021 11:32 Para: solr-user@lucene.apache.org Asunto: Apache Solr in High Availability

Re: Apache Solr in High Availability Primary and Secondary node.

2021-01-11 Thread Kaushal Shriyan
On Mon, Jan 11, 2021 at 4:11 PM DAVID MARTIN NIETO wrote: > I believe Solr dont have this configuration, you need a load balancer with > that configuration mode for that. > > Kind regards. > > Thanks, David for the quick response. Is there any use-case to use HAProxy or Nginx webserver or any oth

RE: Apache Solr in High Availability Primary and Secondary node.

2021-01-11 Thread DAVID MARTIN NIETO
Hi again, I dont know about those products but, with Apache something like that can works: https://stackoverflow.com/questions/6381749/apache-httpd-mod-proxy-balancer-with-active-passive-setup/11083458 https://httpd.apache.org/docs/2.4/mod/mod_proxy_balancer.html Kind regards.

Re: Apache Solr in High Availability Primary and Secondary node.

2021-01-11 Thread Shawn Heisey
On 1/11/2021 4:02 AM, Kaushal Shriyan wrote: Thanks, David for the quick response. Is there any use-case to use HAProxy or Nginx webserver or any other application to load balance both Solr primary and secondary nodes? I had a setup with haproxy and two copies of a Solr index. Four of the node

Highlighting large text fields

2021-01-11 Thread Shaun Campbell
I've been using highlighting for a while, using the original highlighter, and just come across a problem with fields that contain a large amount of text, approx 250k characters. I only have about 2,000 records but each one contains a journal publication to search through. What I noticed is that so

Re: Apache Solr in High Availability Primary and Secondary node.

2021-01-11 Thread Walter Underwood
There are all sorts of problems with the primary/secondary approach. How do you know the secondary is working? How do you deal with cold caches on the secondary when it suddenly gets lots of load? Instead, size the cluster with the number of hosts you need, then add one. Send traffic to all of

Re: Apache Solr in High Availability Primary and Secondary node.

2021-01-11 Thread Dmitri Maziuk
On 1/11/2021 11:25 AM, Walter Underwood wrote: There are all sorts of problems with the primary/secondary approach. How do you know the secondary is working? How do you deal with cold caches on the secondary when it suddenly gets lots of load? Instead, size the cluster with the number of hosts

Re: Apache Solr in High Availability Primary and Secondary node.

2021-01-11 Thread Walter Underwood
Use a load balancer. We’re in AWS, so we use an AWS ALB. If you don’t have a failure-tolerant load balancer implementation, the site has bigger problems than search. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jan 11, 2021, at 10:15 AM, Dmitri M

Re: Apache Solr in High Availability Primary and Secondary node.

2021-01-11 Thread Dmitri Maziuk
On 1/11/2021 12:30 PM, Walter Underwood wrote: Use a load balancer. We’re in AWS, so we use an AWS ALB. If you don’t have a failure-tolerant load balancer implementation, the site has bigger problems than search. That is the point, you have amazon doing that for you, some of us do it ourselv

Re: Highlighting large text fields

2021-01-11 Thread David Smiley
Hello! I worked on the UnifiedHighlighter a lot and want to help you! On Mon, Jan 11, 2021 at 9:58 AM Shaun Campbell wrote: > I've been using highlighting for a while, using the original highlighter, > and just come across a problem with fields that contain a large amount of > text, approx 250k

Solr using all available CPU and becoming unresponsive

2021-01-11 Thread Jeremy Smith
Hello all, We have been struggling with an issue where solr will intermittently use all available CPU and become unresponsive. It will remain in this state until we restart. Solr will remain stable for some time, usually a few hours to a few days, before this happens again. We've tried a

RE: Query over migrating a solr database from 7.7.1 to 8.7.0

2021-01-11 Thread Dyer, Jim
When we upgraded from 7.x to 8.x, I ran into an issue similar to yours: when updating an existing document in the index, the document would be duplicated instead of replaced as expected. The solution was to add a "_root_" field to schema.xml like this: It appeared that when a feature was ad

Re: Solr using all available CPU and becoming unresponsive

2021-01-11 Thread Michael Gibney
Hi Jeremy, Can you share your analysis chain configs? (SOLR-13336 can manifest in a similar way, and would affect 7.3.1 with a susceptible config, given the right (wrong?) input ...) Michael On Mon, Jan 11, 2021 at 5:27 PM Jeremy Smith wrote: > Hello all, > We have been struggling with an i

Re: Apache Solr in High Availability Primary and Secondary node.

2021-01-11 Thread Kaushal Shriyan
On Tue, Jan 12, 2021 at 12:10 AM Dmitri Maziuk wrote: > On 1/11/2021 12:30 PM, Walter Underwood wrote: > > Use a load balancer. We’re in AWS, so we use an AWS ALB. > > > > If you don’t have a failure-tolerant load balancer implementation, the > site has bigger problems than search. > > That is th

Combining edismax Parser with Block Join Parent Query Parser

2021-01-11 Thread Ravi Lodhi
Hello Guys, Does Solr support edismax parser with Block Join Parent Query Parser? If yes then could you provide me the syntax or point me to some reference document? And how does it affect the performance? I am working on a search screen in an eCommerce application's backend. The requirement is t