Custom TopDocsCollector / Custom sorting


#1

Hi,

I'm new to ES but wondering if the community knew if there a way with ES today to implement something like the ReRanking API [https://cwiki.apache.org/confluence/display/solr/RankQuery+API].

Specifically I need a custom TopDocsCollector probably in core/src/main/java/org/elasticsearch/search/query/QueryPhase:execute so that we might be able to implement our custom ranking strategy. It would also allow for full control for a custom sort implementation too.

Cheers,
Dan


(Isabel Drost-Fromm) #2

I'd start with looking at script scoring first, maybe this already helps.

Isabel


(system) #3