Hi! I'm having quite an index with a lot of text and some binary data in the documents (numeric vectors of arbitrary size with associated dissimilarity functions). What I want to do is to search using common text search and then (optionally) re-rank using some custom function like
http://localhost:8983/solr/select?q=*:*&sort=myCustomFunction(var1) asc I've seen that there are hooks in solrconfig.xml, but I did not find an example or some documentation. I'd be most grateful if anyone could either point me to one or give me a hint for another way to go :) Btw. Using just the DocValues for search is handled by a custom RequestHandler, which works great, but using text as a main search feature, and my DocValues for re-ranking, I'd rather just add a function for sorting and use the current, stable and well performing request handler. cheers, Mathias ps. a demo of the current system is available at: http://demo-itec.uni-klu.ac.at/liredemo/ -- Dr. Mathias Lux Assistant Professor, Klagenfurt University, Austria http://tinyurl.com/mlux-itec