: When I sort by price ascending, documents with no price are listed
: first. I would like them listed last. I tried adding the
: sortMissingLast flag, even though it says it is only for strings, but

it works for any field type *backed* by a string, including the 
SortableIntField (and it's breathren)

: it did not help. Why doesn't sortMissingLast work on non-strings? This
: seems like a very common issue, but I couldn't find any solutions when
: I searched this group and on google.

historicly it has been because of a fundemental limitation in how the 
Lucene FieldCache has historicly worked where the array backed FieldCaches 
use the default numeric value (ie: 0) when docs have no value (but in the 
case of Strings, the default is "null" which is easy to test for)

i am 99.99% certain this has changed on the trunk, so all of the 
Trie*Fields should support the sortMissing* options in 4.x


-Hoss

Reply via email to