Re: Lucene v9.9.1: org.apache.lucene.search.ScoreMode

2024-01-16 Thread Christine Poerschke (BLOOMBERG/ LONDON)
Hello. Thanks for this thread and this pointer! I've opened https://github.com/apache/lucene/issues/13018 issue based on it. From: dev@lucene.apache.org At: 01/07/24 16:08:48 UTCTo: dev@lucene.apache.org Subject: Re: Lucene v9.9.1: org.apache.lucene.search.ScoreMode Hi. I suspect

Re: Lucene v9.9.1: org.apache.lucene.search.ScoreMode

2024-01-12 Thread Adrien Grand
There have been a few similar reports of the ScoreMode import issue at Elastic with Lucene 9.9.1. It looks like an Intellij-specific issue, which can be addressed by upgrading to the latest version. (I'm not really an Intellij user myself so I don't know more about the problem.) On Sun, Jan 7,

Re: Lucene v9.9.1: org.apache.lucene.search.ScoreMode

2024-01-07 Thread Guo Feng
Hi. I suspect that the reason for this error may be that BytesRefHash#sort is called more than once on a BytesRefHash instance. This is fine before 9.9.0, but it won't work after https://github.com/apache/lucene/pull/12784. On 2024/01/07 13:41:33 Nazerke S wrote: > I re-run the test in a

Re: Lucene v9.9.1: org.apache.lucene.search.ScoreMode

2024-01-07 Thread Nazerke S
I re-run the test in a terminal and getting this: (seems not a dependency issue) (TEST-TestScoreJoinQPNoScore.testRandomJoin-seed#[BD516D11246BE886]) [n: c: s: r: x: t:] o.a.s.SolrTestCaseJ4 ###Ending testRandomJoin > java.lang.AssertionError > at

Re: Lucene v9.9.1: org.apache.lucene.search.ScoreMode

2024-01-06 Thread Dawid Weiss
Can you check whether it's a dependency graph problem somehow, maybe (does it compile outside of intellij?). Can you trim down the project to a reproducible scenario so that we can look at it? D. On Sun, Jan 7, 2024 at 5:53 AM Nazerke S wrote: > One of the functions takes ScoreMode as an

Re: Lucene v9.9.1: org.apache.lucene.search.ScoreMode

2024-01-06 Thread Nazerke S
One of the functions takes ScoreMode as an argument and this ScoreMode is not found from dependencies. In Intellij, seeing 'cannot resolve symbol ScoreMode'. @Override public Weight createWeight(IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost) {...} Tried

Re: Lucene v9.9.1: org.apache.lucene.search.ScoreMode

2024-01-06 Thread Marcus Eagan
It’s there for sure, but that doesn’t mean there is no problem. Could you share what you are seeing in more detail given the class certainly exists? Marcus Eagan On Sat, Jan 6, 2024 at 14:05 Chris Hegarty wrote: > Hi, > > I see no issue. ScoreMode is present in lucene-core-9.9.1.jar > > $

Re: Lucene v9.9.1: org.apache.lucene.search.ScoreMode

2024-01-06 Thread Chris Hegarty
Hi, I see no issue. ScoreMode is present in lucene-core-9.9.1.jar $ curl https://dlcdn.apache.org/lucene/java/9.9.1/lucene-9.9.1.tgz > lucene-9.9.1.tgz ... $ $ tar -xzf lucene-9.9.1.tgz $ jar -tvf lucene-9.9.1/modules/lucene-core-9.9.1.jar | grep ScoreMode 1618 Wed Dec 13 11:06:00 GMT

Lucene v9.9.1: org.apache.lucene.search.ScoreMode

2024-01-06 Thread Nazerke S
Hi, While I was trying to upgrade Solr to use Lucene v9.9.1, I encountered 'org.apache.lucene.search.ScoreMode' not found, getting resolve class issue. Quickly took a look into the ScoreMode class in lucene codebase, there is no change. Maybe it is related to lucene-core-9.9.1.jar issue where