Re: Sorting 0 values last

2011-03-17 Thread MOuli
=/select params={sort=map(calc_curr,0,0,1)+descqt=nonequery} status=400 QTime=1 fyi: I use solr 1.4.1 -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-0-values-last-tp2681612p2692701.html Sent from the Solr - User mailing list archive at Nabble.com.

Sorting 0 values last

2011-03-15 Thread MOuli
/Sorting-0-values-last-tp2681612p2681612.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Sorting 0 values last

2011-03-15 Thread Gora Mohanty
On Tue, Mar 15, 2011 at 9:04 PM, Yonik Seeley yo...@lucidimagination.com wrote: On Tue, Mar 15, 2011 at 10:35 AM, MOuli zar...@hotmail.de wrote: I want so sort ASC on a price field, but some of the ouldocs got a 0 (not NULL) value. Now I want that this docs are at the end when i sort the

Re: Sorting 0 values last

2011-03-15 Thread Chris Hostetter
: Not sure how you are indexing, but in addition to the above : suggestion by Yonik, one could ignore 0's at indexing time, : i.e., ensure that 0 values for that field are not indexed, and : use sortMissingLast. Once upon a time i had a usecase where i was indexing product data, and in thta