Re: Sort by function workaround for Solr 1.4

2010-05-28 Thread Chris Hostetter
: I have found a user comment at this page : https://issues.apache.org/jira/browse/SOLR-1297 (Enable sorting by function : query) where he has mentioned that there is a workaround "(main query)^0 : func(...)" that can be used to sort results by function without having to : install "SOLR-1297" patc

Re: Sort by function workaround for Solr 1.4

2010-05-28 Thread Martynas Miliauskas
The problem with using query functions is that I don't know how to equally scale similarity score and output of the function. What I mean is that query output would be in the range from 0..1 and function output would be in the range from 0..1. Well I think I do know how to scale function output to

Re: Sort by function workaround for Solr 1.4

2010-05-28 Thread Blargy
How would this be any different than simply using the function to alter the scoring of the final results and then sorting by score? -- View this message in context: http://lucene.472066.n3.nabble.com/Sort-by-function-workaround-for-Solr-1-4-tp851922p852471.html Sent from the Solr - User mailin