Re: DismaxRequestHandler reports sort by score as invalid

2007-06-21 Thread Chris Hostetter
as mentioned, the warning is missleading in the case where you sort by socre, i filed a bug as a reminder to fix it (and so people searching for it will understand what's going on) patches welcome! :) http://issues.apache.org/jira/browse/SOLR-270 : WARNING: Invalid sort "score desc" was specifi

Re: DismaxRequestHandler reports sort by score as invalid

2007-06-21 Thread Yonik Seeley
A little background: I originally conceived of query operation chains (based on some of my previous hacking in mechanical investing stock screens: select all stocks; take top 10% lowest PE; then take the top 20 highest growth rate; then sort descending by 13 week relative strength). So, I thought

Re: DismaxRequestHandler reports sort by score as invalid

2007-06-21 Thread J.J. Larrea
Because "score desc" is the default Lucene & Solr behavior when no explicit sort is specified, QueryParsing.parseSort() returns a null sort so that the non-sort versions of the query execution routines get called. However the caller SolrPluginUtils.parseSort issues that warning whenever it gets