I have a field that might take string or numeric value, naturally I would want to order it numerically if the values turn out to be number. I tried to map a multi_field with both string and float, but it would not work if the value is a string. Is there a way to tell elasticsearch to ignore indexing a sub-field (in this case, the float field) if the format does not fit? On the other hand, I know it has been asked before but didn't seem to have a good answer, is there a better way to sort string value numerically? Is there roadmap for this feature?
-- 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/98f2240e-9fd0-41fe-8daf-0133ab3149df%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
