The above plugin was developed on Solr 6.6 and I want to implement the same on Solr 8.6. While migrating the project, I came across 2 issues viz. CustomScoreQuery and CustomScoreProvider APIs are not part of Lucene 8.x.
I read the documentation and the contributors suggested using FunctionScoreQuery but there is no example of how to implement it. I read another thread on this channel and came to know about ValueSource API and found the below example;