Data Import Blocker - Solr

2020-12-18 Thread basel altameme
Dear, While trying to Import & Index data from MySQL DB custom view i am facing the error below: Data Config problem: The value of attribute "query" associated with an element type "entity" must not contain the '<' character. Please note that in my SQL statements i am using '<>' as an operator

solrCloud client socketTimeout initiates retries

2020-12-18 Thread kshitij tyagi
Hi, We have a Solrcloud setup and are using CloudSolrClient, What we are seeing is if socketTimeoutOccurs then the same request is sent to other solr server. So if I set socketTimeout to a very low value say 100ms and my query takes around 200ms then client tries to query second server, then

Re: CPU and memory circuit breaker documentation issues

2020-12-18 Thread Walter Underwood
Thanks. I’m already familiar with adoc. https://issues.apache.org/jira/browse/SOLR-15056 Now I need to brush up on How To Contribute. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Dec 18, 2020,

Re: CPU and memory circuit breaker documentation issues

2020-12-18 Thread Walter Underwood
Looking at the code, the CPU circuit breaker is unusable. This actually does use Unix load average (operatingSystemMXBean.getSystemLoadAverage()). That is a terrible idea. Interpreting the load average requires knowing the number of CPUs on a system. If I have 16 CPUs, I would probably set the

Re: CPU and memory circuit breaker documentation issues

2020-12-18 Thread Anshum Gupta
Hi Walter, Thanks for taking this up. You can file a PR for the documentation change too as our docs are now a part of the repo. Here's where you can find the docs: https://github.com/apache/lucene-solr/tree/master/solr/solr-ref-guide On Fri, Dec 18, 2020 at 9:26 AM Walter Underwood wrote: >

Help understanding with Arbitrary Rectangle

2020-12-18 Thread hank
Hi, I'm trying to search within a rectangle using the Filtering by an Arbitrary Rectangle method, by query below doesn't return any results, I know that items are present within that area.

Re: solrCloud client socketTimeout initiates retries

2020-12-18 Thread kshitij tyagi
Hi erick, Thanks. Yes we will be upgrading soon to 8.8 till we upgrade we are increasing socket timeout and it helps for time being to some extent. regards, kshitij On Fri, Dec 18, 2020 at 7:48 PM Erick Erickson wrote: > Right, there are several alternatives. Try going here: >

Re: Data Import Blocker - Solr

2020-12-18 Thread Erick Erickson
Have you tried escaping that character? > On Dec 18, 2020, at 2:03 AM, basel altameme > wrote: > > Dear, > While trying to Import & Index data from MySQL DB custom view i am facing the > error below: > Data Config problem: The value of attribute "query" associated with an > element type

Re: solrCloud client socketTimeout initiates retries

2020-12-18 Thread Erick Erickson
Right, there are several alternatives. Try going here: http://jirasearch.mikemccandless.com/search.py?index=jira and search for “circuit breaker” and you’ll find a bunch of JIRAs. Unfortunately, some are in 8.8.. That said, some of the circuit breakers are in much earlier releases. Would it

Re: solrCloud client socketTimeout initiates retries

2020-12-18 Thread Erick Erickson
Why do you want to do this? This sounds like an XY problem, you think you’re going to solve some problem X by doing Y. Y in this case is setting the numServersToTry, but you haven’t explained what X, the problem you’re trying to solve is. Offhand, this seems like a terrible idea. If you’re

Re: solrCloud client socketTimeout initiates retries

2020-12-18 Thread kshitij tyagi
Hi Erick, I agree but in a huge cluster the retries keeps on happening, cant we have this feature implemented in client. i was referring to this jira https://issues.apache.org/jira/browse/SOLR-10479 We have seen that some malicious queries come to system which takes significant time and these