PaulVrugt opened a new issue #398:
URL: https://github.com/apache/lucenenet/issues/398
We are upgrading from lucene.net 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.
[1]:
https://lucene.apache.org/core/7_4_0/queries/org/apache/lucene/queries/CustomScoreQuery.html
[2]: https://lucenenet.apache.org/docs/4.8.0-beta00013/
----------------------------------------------------------------
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:
[email protected]