Sorting on strings and the "missing" property


(Nick Hoffman) #1

Hey guys. If the "missing" option is provided in a string-sort, why does ES
generate an error instead of simply ignoring the option?


(Shay Banon) #2

missing is not supported for String values (currently), only for numeric
values. Can you gist the error you get?

On Wed, Nov 16, 2011 at 6:30 AM, Nick Hoffman nick@deadorange.com wrote:

Hey guys. If the "missing" option is provided in a string-sort, why does
ES generate an error instead of simply ignoring the option?


(Nick Hoffman) #3

Sure thing, mate. Here it is:


(Nick Hoffman) #4

On Wednesday, 16 November 2011 09:21:14 UTC-5, kimchy wrote:

missing is not supported for String values (currently), only for numeric
values. Can you gist the error you get?

So if I want the documents with a null value for the sort-field to be at
the end of the results, must that be done after retrieving the results from
ES?


(system) #5