I'm trying to understand this correctly. If I have two separate document
types (my_type_1 and my_type_2), and they both have a field (my_field)
which is defined different (string not analyzed and long), I can't do a
search on my_type_1 sorting by my_field if there are any documents in the
index of my_type_2 that have multiple values in my_field?
Because of this, I have to prefix all my fields with the document type...
which seems wrong. Am I missing something?
Thanks for the help.
References:
"Can't sort on string types with more than one value per doc, or more than
one token per field"
http://elasticsearch-users.115913.n3.nabble.com/not-analyzed-attribute-gt-Can-t-sort-on-string-types-with-more-than-one-value-per-doc-or-more-than-od-td3848413.html
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.