Arthur,

Can you try to set "ignore_malformed": true for your float field and see if 
that works. Something like this:

        "foo": {
          "type": "multi_field",
          "fields": {
            "foo": {
              "type": "string",
              "index": "not_analyzed"
            },
            "f": {
              "type": "float",
              "ignore_malformed": true
            }
          }
        }

After that, you should be able to sort numerically on the field "foo.f".

-- 
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/600e5a53-17cb-4e16-a959-574c45439210%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to