lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] PaulVrugt opened a new issue #398: Migrating from 3.0 to 4.8
Date Tue, 08 Dec 2020 14:29:31 GMT

PaulVrugt opened a new issue #398:

   We are upgrading from 3.0 to 4.8. Now we have some issues because of breaking
changes between these versions. 
   1. In our project, we make use of the `CustomScoreQuery` which used to be part of the `Lucene.Net.Search.Function`
namespace. It is no longer there. According to the [Apache documentation][1] is is deprecated
and should be replaced by using the `FunctionScoreQuery`, but this class doesn't seem to exist
in 4.8. What should we use instead?
   2. We used a custom collector class, that inherited from `Lucene.Net.Search.Collector`.
In 4.8, this class has become sealed. I see there a several implementation classes. Which
one should I use?
   3. We used a class that inherited from `CustomScoreProvider` in `Lucene.Net.Search.Function`,
but it is no longer there in 4.8. We used it combined with the `CustomScoreQuery` as returnvalue
for the `GetCustomScoreProvider` method There doesn't seem to be any alternative. What should
we use instead?
   There is [some documentation][2], but unfortunately the link to the migration guide is
still a TODO.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message