Tie Breaker and Boost query

2021-10-18 Thread Manish Bafna
Hi Solr experts, I am looking for a solution for this. We are using edismax query parser. We have query like this: q: (query1 OR query2 OR query3) &bq:(bq1^2 bq2^3) &bq:(bq3 bq4) We wanted to add "tie breaker" only for bq1 and bq2 (Use Max instead of sum). How can we do that? Thanks, Manish.

Re: Tie Breaker and Boost query

2021-10-18 Thread Erik Hatcher
Try using a dismax or edismax query for that bq. On Mon, Oct 18, 2021, 06:22 Manish Bafna wrote: > Hi Solr experts, > I am looking for a solution for this. We are using edismax query parser. > We have query like this: > q: (query1 OR query2 OR query3) > &bq:(bq1^2 bq2^3) > &bq:(bq3 bq4) > > We w

Re: Tie Breaker and Boost query

2021-10-18 Thread Manish Bafna
I tried that and it is throwing error as: "Infinite Recursion detected parsing query" On Mon, Oct 18, 2021 at 4:09 PM Erik Hatcher wrote: > Try using a dismax or edismax query for that bq. > > On Mon, Oct 18, 2021, 06:22 Manish Bafna > wrote: > > > Hi Solr experts, > > I am looking for a soluti

Re: Solrj / Solr8.10.0 , Create new Core Collection using Solrj

2021-10-18 Thread Mark H. Wood
On Sun, Oct 17, 2021 at 12:41:44PM -0600, Shawn Heisey wrote: > On 10/17/2021 7:08 AM, nskarthik wrote: > >>> not possible when Solr is in standalone mode > > I use Solr in NON-CLOUD standalone mode. > > > > Process : /solr Create -c > > This feature just creates an empty core (copies all requi

Solr Best Practices

2021-10-18 Thread mtn search
Hello Solr Group, Is there a general summary page of Solr best practices? And particularly one for sizing Solr nodes, shards, and collections? Thanks, Ed

Re: Solr keeps creating new threads until it dies

2021-10-18 Thread Dominic Humphries
Apologies for not replying earlier, illness struck last week :( So, I did some testing with increased Xss and Xmx values for 8.9.0 as suggested. Boosting Xss from 256k to 1024k made no impact on any tests. Boosting from -Xmx7913m to -Xmx15826m did improve some things: solr was less likely to bec

[ANNOUNCE] Apache Solr 8.10.1 released

2021-10-18 Thread Mayya Sharipova
The Solr PMC is pleased to announce the release of Apache Solr 8.10.1. Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search and analytics, rich document parsing, g

Re: Backup solr fail with error Set system property 'solr.allowPaths' to add other allowed paths."},

2021-10-18 Thread Jason Gerlowski
Hi Tran, I think you're specifying 'solr.allowPaths' in the right place, but you probably need to remove the wildcard ('*') from the path you're using. Most 'solr.allowPaths' usages I've seen (including the doc example you mentioned) specify paths as absolute paths without a trailing wildcard. H

How can I performance-tune my warming queries?

2021-10-18 Thread Andy Lester
I’m trying to figure out why my warming is taking so long. It’s taking about 20-40 seconds on average. Can I measure where it’s spending its time? I’ve got my firstSearcher and newSearcher set up like this: ... world popular_score desc, grou

Re: Tie Breaker and Boost query

2021-10-18 Thread Erik Hatcher
What query did you try exactly? > On Oct 18, 2021, at 6:54 AM, Manish Bafna wrote: > > I tried that and it is throwing error as: "Infinite Recursion detected > parsing query" > > On Mon, Oct 18, 2021 at 4:09 PM Erik Hatcher wrote: > >> Try using a dismax or edismax query for that bq. >> >> O

Re: Solr keeps creating new threads until it dies

2021-10-18 Thread Deepak Goel
One thing concerns me is the input of the test. Is the data/docs limited to a particular number? There could be a possibility that all threads are getting locked doing an update of a particular document (rather than updating a large number of documents). This would create a bottleneck and performan

Re: Solr keeps creating new threads until it dies

2021-10-18 Thread Dominic Humphries
The test is essentially a dump of requests made to our live service, replayed on our test instances. They're purely read-only, so there should be no contention in terms of writing updates - we update solr via a completely separate mechanism. On Mon, 18 Oct 2021 at 17:30, Deepak Goel wrote: > One

Re: Solr Best Practices

2021-10-18 Thread Shawn Heisey
On 10/18/21 9:07 AM, mtn search wrote: Is there a general summary page of Solr best practices? And particularly one for sizing Solr nodes, shards, and collections? We do not have general advice for hardware sizing.  There are many things involved in coming up with a recommendation.  And we o

Re: Solr keeps creating new threads until it dies

2021-10-18 Thread Deepak Goel
This (java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@3b315cbb) clearly indicates data contention. We just need to find out what. Deepak "The greatness of a nation can be judged by the way its animals are treated - Mahatma Gandhi" +91 73500 12833 deic...@gmail.com Facebook

Re: How can I performance-tune my warming queries?

2021-10-18 Thread Shawn Heisey
On 10/18/21 10:03 AM, Andy Lester wrote: I’m trying to figure out why my warming is taking so long. It’s taking about 20-40 seconds on average. Can I measure where it’s spending its time? I do not know of any way to figure out which little parts of a massive query are the most time consumi

Re: How can I performance-tune my warming queries?

2021-10-18 Thread Andy Lester
Thanks very much for this. This is a huge help. > What I would recommend is that (at a time when query traffic is lowest) you > turn off all warming, restart, and then do some manual queries where you > check each fq and facet individually. Rebooting or clearing the OS disk > cache before ea

Re: How can I performance-tune my warming queries?

2021-10-18 Thread Shawn Heisey
On 10/18/21 12:53 PM, Andy Lester wrote: What should we have in the newSearcher startup query, if the new searcher is going to bring over the cached FQs from an existing searcher? I know that filterCache handles autowarming for fq parameters.  I do not know whether queryResultCache stores any

Re: How can I performance-tune my warming queries?

2021-10-18 Thread Andy Lester
> On Oct 18, 2021, at 2:38 PM, Shawn Heisey wrote: > >> What should we have in the newSearcher startup query, if the new searcher is >> going to bring over the cached FQs from an existing searcher? > > I know that filterCache handles autowarming for fq parameters. I do not know > whether qu

Stream Expression "Failed to load JDBC driver"

2021-10-18 Thread Mal Aware
Hello, I was reading the following SOLR reference ( https://solr.apache.org/guide/8_10/stream-source-reference.html#jdbc-syntax) and was curious to try out the functionality, but unfortunately no matter what I tried I would always receive the same error: *"EXCEPTION": "Failed to load JDBC driver f

Re: How can I performance-tune my warming queries?

2021-10-18 Thread Shawn Heisey
On 10/18/21 1:43 PM, Andy Lester wrote: This sounds like you’re saying there is no value in having warming queries in the newSearcher. Is that correct? If my understanding is completely correct, then I have to concur with that statement. It's better to rely on filterCache autowarming for fq,

Re: Stream Expression "Failed to load JDBC driver"

2021-10-18 Thread Shawn Heisey
On 10/18/21 1:10 PM, Mal Aware wrote: I was reading the following SOLR reference ( https://solr.apache.org/guide/8_10/stream-source-reference.html#jdbc-syntax) and was curious to try out the functionality, but unfortunately no matter what I tried I would always receive the same error: *"EXCEPTION

Having issues searching literal parentheses

2021-10-18 Thread Casteel, Kayla Lynne
Hello all, I have been going mad trying to get SOLR to search for parentheses as literals. For example, "(Figure 5)". I've tried entering it in the fq field as: allText:\(Figure 5\) (where allText is a facet). SOLR interprets this in the response as "fq":"allText:\\(Figure 5\\)" and it ends up