I think you'll have to handle the complexities you describe if you use the
RankQuery.
The RankQuery does bring with it a fair amount of complexity to get
everything right. The ReRankQParserPlugin provides a pretty good example to
review.
Joel Bernstein
http://joelsolr.blogspot.com/
On Fri, Jul 1
Hi,
I am trying to understand how to influence scoring via RankQuery in solr >=
4.9. My requirements are two fold:
1) Use a custom collector
2) Change scoring of docs
As far as i could understand, if we just want to change the scoring, we can
write a QueryParserPlugin and extend CustomScoreQuery