Lucene codecs and replication compatibility between versions

2024-10-18 Thread Andreas Hubold
Hi, I'd like to better understand which releases are compatible with regard to user-managed index replication. We ran into issues with replication in the past, when a leader was erroneously updated before its followers without stopping replication. The reason seems clear: the follower needs t

Re: Atomic update wrongly deletes child documents

2021-04-19 Thread Andreas Hubold
Hi seez, no, in my case, nested documents contained only fields as defined in the schema. Actually, I didn't even use dynamic fields at all. It was just the definition of the dynamic catch-all field that led to the problems. It matched the name that was used to set nested documents. Because th

Re: Atomic update wrongly deletes child documents

2021-04-20 Thread Andreas Hubold
ACI On Mon, Apr 19, 2021 at 8:02 PM Andreas Hubold wrote: Hi seez, no, in my case, nested documents contained only fields as defined in the schema. Actually, I didn't even use dynamic fields at all. It was just the definition of the dynamic catch-all field that led to the problems. It ma

Partial update error for missing _root_ after updating to Solr 8.8.2

2021-06-08 Thread Andreas Hubold
Hi, with Solr 8.6.3 we developed a new feature that uses partial update to add some nested documents to existing index documents. Because we didn't have nested documents so far, we've added the _root_ and _nest_path_ fields to the schema, but of course these were unset for existing documents

Re: Partial update error for missing _root_ after updating to Solr 8.8.2

2021-06-09 Thread Andreas Hubold
The error seems to happens for every kind of partial update / atomic update when the _root_ field was added to the schema of an existing index. This means, Solr 8.8.2 now requires a full reindex when one adds the _root_ field to the schema of an existing index. Previously (Solr 8.6.3) this wasn't

Re: Partial update error for missing _root_ after updating to Solr 8.8.2

2021-06-10 Thread Andreas Hubold
I have opened a JIRA ticket for this now https://issues.apache.org/jira/browse/SOLR-15468 Would be great if someone could have a look and help. Thank you, Andreas -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Error on atomic update for upgraded index (v 7.3.1 -> 8.8.2)

2021-07-12 Thread Andreas Hubold
Hi Branco, we had the same problem. Have you added the _root_ field to the schema of an existing index? This error (and more severe undetected problems) can occur if the _root_ field wasn't yet defined in the schema when the updated document was previously indexed. See the discussion in http

Docker Image for Solr 8.10.1

2021-10-26 Thread Andreas Hubold
Hi, the docker image for the latest Solr release 8.10.1 is still missing. I'm waiting a bit here, so I tried to help and prepared a pull request: https://github.com/docker-solr/docker-solr/pull/391 I've followed the nicely written upgrade steps from the docker-solr repo, but the travis-ci in

SolrSecurity Confluence page about Guava usage

2022-05-24 Thread Andreas Hubold
Hi folks, like many others we're using tools to detect known security vulnerabilties in used software, and the table with false positives at the SolrSecurity Confluence page is really helpful [1]. However, it seems at least the information about Guava is a bit outdated. It states Guava is "o

Re: Solr 9.2.1: Creation of Core "Hangs"

2023-10-27 Thread Andreas Hubold
Hi Solr devs, I've seen the same problem with Solr 9.2.1 now, and I think we have a bug here: Core creation may deadlock if there are concurrent requests for metrics The situation is a complex race condition. I might be wrong, but think I can explain what happened: A CoreAdmin CREATE reque

Re: Solr 9.2.1: Creation of Core "Hangs"

2023-10-30 Thread Andreas Hubold
Thanks Ishan, I've created https://issues.apache.org/jira/browse/SOLR-17060 Looks serious, a JIRA would be very helpful. Thanks! On Fri, 27 Oct, 2023, 9:53 pm Andreas Hubold, wrote: Hi Solr devs, I've seen the same problem with Solr 9.2.1 now, and I think we have a bug here: Cor

Re: Solr 9.4 - Switching _default configset to classic schema issue

2023-12-12 Thread Andreas Hubold
Hi, just stumbled upon this: This looks like open bug https://issues.apache.org/jira/browse/SOLR-16203 The workaround would be to configure StopFilterFactory and similar analysis factories with a class attribute and not the name attribute. For example, use class="solr.StopFilterFactory" inst

Re: R: stopfilter nullpointerexception

2024-01-02 Thread Andreas Hubold
There's already a bug report: https://issues.apache.org/jira/browse/SOLR-16203 Danilo Tomasoni schrieb am 02.01.24 um 12:11: Hello and happy new year! Indeed reverting back to 'class' attribute in place of 'name' did the trick, now I don't see any nullpointerexception anymore. Thank you! Ple

Solr 9 deadlock during servlet container start

2024-01-11 Thread Andreas Hubold
Hi, I think there's a bug Solr 9.2.1, that can cause a deadlock when started. In rare cases, the servlet container startup thread gets blocked and there's no other thread that could unblock it. "main" #1 prio=5 os_prio=0 cpu=5922.39ms elapsed=7490.27s tid=0x7f637402ae70 nid=0x47 waiting

Re: Solr 9 deadlock during servlet container start

2024-01-14 Thread Andreas Hubold
I've created a JIRA issue for this now: https://issues.apache.org/jira/browse/SOLR-17118 Andreas Hubold wrote on 11.01.24 16:56: Hi, I think there's a bug Solr 9.2.1, that can cause a deadlock when started. In rare cases, the servlet container startup thread gets blocked and there&

Re: Solr complains about unknown field during atomic indexing

2021-03-22 Thread Andreas Hubold
Hi, You could then add the following to take care of any and all unknown fields: Or you could name individual fields like that, which I think would be a better option than the wildcard dynamic field. Just a small addition, in case you're also using nested documents: You should really pr