RE: Re: Custom scores and sort

2022-03-25 Thread Claude Lepère
: Adrien Grand Sent: Wednesday, March 23, 2022 17:58 To: Lucene Users Mailing List Subject: Re: Re: Custom scores and sort CAUTION: external mail Sorry Claude, but I have some trouble following what you are doing with your CustomScoreQuery. It feels like your query is doing something that breaks some

Re: Re: Custom scores and sort

2022-03-23 Thread Adrien Grand
Sorry Claude, but I have some trouble following what you are doing with your CustomScoreQuery. It feels like your query is doing something that breaks some assumptions that Lucene makes. Have you looked at existing ways that Lucene supports boosting documents by recency, such as putting a LongDist

RE: Re: Custom scores and sort

2022-03-14 Thread Claude Lepere
Adrien, thank you for your answer and sorry for the lack of clarity. No, the score of a document does not depend on the score of another document, the problem lies within a document. There are several "only once score" fields; to simplify, I suppose there is only one "only once score" field; a do