Yes. Using not_analyzed is the way to go. May be you could create a SENSE script and gist it so we can see what you did wrong?
-- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 3 juil. 2014 à 09:47, Ankit Jain <[email protected]> a écrit : Hey Folks, how do I do aggregations on a multi word field? i.e. if i have a field named "device model" which could have "samsung galaxy s5" or "iphone 5s" when I do an aggregation, it aggregates "samsung" separately from "galaxy" separately from "s5"... ideas? I tried defining the index with a mapping where that field has index : not_analyzed set... Thanks in advance, Ankit! -- 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/433ae04a-73b4-462d-9be0-d5f20ff6c42f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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/91A4A108-9FAD-46BD-A485-C3BC5903FDC9%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
