Arthur,

1) That section is only to tell ES how to order documents when the field is 
missing. So if you specify for example: 

    "sort" : [
        { "price" : {"missing" : "_last"} },
    ]


If the price field is missing, the document will be pushed to the bottom of 
the results. But this still does not help when you define multi-fields with 
numeric type and want to store a non-numeric string value.

2) It sounds fine to me. You don't even need a multi-field if you don't 
care about the string value. So for example, you can do something like this:

        "foo": {
              "type": "float",
              "ignore_malformed": true
        }

And then just sort by "foo" numerically.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/7293f0c9-fafe-49b2-96e3-b0f54396b84c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to