Re: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387)

2021-04-15 Thread Jan Høydahl
Thanks for the reviews, I committed the fix - Solr should now compile again... > 15. apr. 2021 kl. 16:05 skrev Dawid Weiss : > >> We should wait until Lucene 9 is released and then switch to a fixed >> version. This was the plan from beginning and is also fine if it takes more >> months or half

Re: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387)

2021-04-15 Thread Dawid Weiss
> We should wait until Lucene 9 is released and then switch to a fixed version. > This was the plan from beginning and is also fine if it takes more months or > half a year until Lucene releases 9.0. I think the question was about temporary holds when something in Lucene changes in an incompatib

RE: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387)

2021-04-15 Thread Uwe Schindler
ril 15, 2021 2:50 PM > To: dev@solr.apache.org > Subject: Re: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387) > > You could ask the infra team what the policy of snapshot retaining is. > I see some very old entries here: > http://repository.apache.org/content/gr

Re: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387)

2021-04-15 Thread Dawid Weiss
You could ask the infra team what the policy of snapshot retaining is. I see some very old entries here: http://repository.apache.org/content/groups/snapshots/org/apache/lucene/ but 9.0.0-SNAPSHOT only has a few. It's probably the count of releases under a given version (not the age) that matters.

RE: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387)

2021-04-15 Thread Uwe Schindler
.@thetaphi.de > -Original Message- > From: Jason Gerlowski > Sent: Thursday, April 15, 2021 1:59 PM > To: dev@solr.apache.org > Subject: Re: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387) > > FYI, Mike Drob filed a separate issue for this yesterday (SOLR-153

Re: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387)

2021-04-15 Thread Jason Gerlowski
> You can pin the dependency to a particular snapshot revision... the problem > is those revisions don't stay in snapshot repositories forever Ah, I see. Presumably Solr could avoid this though by copying/republishing the particular snapshot we want our builds to use under the "org.apache.solr"

Re: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387)

2021-04-15 Thread Dawid Weiss
> Wrt SNAPSHOT, I think we just need to be patient until Lucene releases 9.0.0, > then we can depend on that instead, and choose our own timing for upgrading. You can pin the dependency to a particular snapshot revision... the problem is those revisions don't stay in snapshot repositories forever

Re: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387)

2021-04-15 Thread Jan Høydahl
Thanks for pointing to that issue Jason, I linked the two as duplicates. My PR is at https://github.com/apache/solr/pull/77 and I think it fixes everything. Wrt SNAPSHOT, I think we just need to be patient until Lucene releases 9.0.0, then we can depend

Re: Solr fails with current lucene-9.0.0-SNAPSHOT (LUCENE-9387)

2021-04-15 Thread Jason Gerlowski
FYI, Mike Drob filed a separate issue for this yesterday (SOLR-15339). His ticket doesn't have a PR though so maybe that one should be closed as a duplicate? I'm sure this has been discussed previously and I just missed it - but is there a way for us to lock the Solr build on a particular Lucene 9