Am 06.01.2013 02:32, schrieb andy:
I want to custom solr sort and pass solr param from client to solr server,
Hi Andy,
not a answer of your question, but maybe an other approach to solve your
initial question. Instead of writing a new SearchComponent I decided to
(miss)use the function >http://wiki.apache.org/solr/FunctionQuery#strdist
'strdist' seems to have everything, you need:
- a parameter 's1'
- a fieldname 's2'
- a slot to plugin your own algo
How to use this to sort on multivalued attributes, I've described in
this list as thread "theory of sets"
Uwe