Solr 8 autocommit vs client commits

2021-10-12 Thread Saur, Alexandre (ELS-AMS)
Sorry for the noobie question guys, but I want to make sure I understand the autocommit behaviour in Solr 8. Supposing I have an autocommit time of 5 minutes for a collection A, and that collection has one pending document to index. If a client (solrj.SolrClient) connects and adds a new documen

Re: SolrJ Logging in 8.x - how to get it to turn OFF!!?

2021-10-12 Thread Michael Conrad
I gave up on log4j and switched to slf4j-simple. Now it is only logging WARN and above. implementation 'org.slf4j:slf4j-simple:1.7.+' On 10/7/21 11:39 AM, Shawn Heisey wrote: On 10/7/21 7:37 AM, Michael Conrad wrote:             There is so much useless logging happening I can't read

UpgradeIndexMergePolicy doesn't seem to work?

2021-10-12 Thread Michael Conrad
Attempting to use the merge policy "UpgradeIndexMergePolicy" via the "UpgradeIndexMergePolicyFactory" seems to result in no merging. Here is my config fragment: class="org.apache.solr.index.UpgradeIndexMergePolicyFactory">     mergePolicy     name="mergePolicy.class">org.apache.solr.i

Solr keeps creating new threads until it dies

2021-10-12 Thread Dominic Humphries
We run 8.3.1 in prod without any problems, but we're having issues with trying to upgrade. I've created an 8.9.0 leader & follower, imported our live data into it, and am testing it via replaying requests made to prod. We're seeing a big problem where fairly moderate request rates are causing the

Boost query with phrase slop

2021-10-12 Thread Thamizhazhagan B
Hi, We would like to order search results as below: User input: solr query analysis Results : (in same order) - exact match at top following by partial match then by individual words Solr query analysis is the best practice solr query is good for analysis query analysis in solr is good solr i

Rolling restarts and the Solr Operator

2021-10-12 Thread Joel Bernstein
Hi, I saw that the Solr operator takes into account collection topology when performing rolling restarts. In a situation where there is one SolrCloud object per-shard, I'm wondering how this will behave. In this case the Solr Operator would receive a different CR for each shard which would kick of

Re: Solr keeps creating new threads until it dies

2021-10-12 Thread Joel Bernstein
There is a thread dump on the Solr admin. You can use that to determine what all those threads are doing and where they are getting stuck. You can post parts of the thread dump back to this email thread as well. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Oct 12, 2021 at 11:15 AM Domi

Re: Solr keeps creating new threads until it dies

2021-10-12 Thread Deepak Goel
This looks more like a memoryleak rather than a thread issue. On Wed, 13 Oct 2021, 04:33 Joel Bernstein, wrote: > There is a thread dump on the Solr admin. You can use that to determine > what all those threads are doing and where they are getting stuck. You can > post parts of the thread dump b