kakaner
(kakaner)
April 28, 2013, 9:00pm
1
I'm trying to use the terms facet to return facets that reflect the entire
string stored in a field. For example:
"facet_field": "FOO BAR"
"facet_field": "BAR BAR"
"facet_field": "BAR BAR"
is currently returning:
"FOO": 1
"BAR": 3
but I would like it to return:
"FOO BAR" : 1
"BAR BAR" : 2
Could someone point in the right direction? Thanks!
--
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 .
dadoonet
(David Pilato)
April 28, 2013, 9:39pm
2
Change mapping for field facet_field to be not analyzed.
HTH
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 28 avr. 2013 à 23:00, kakaner kakaner@gmail.com a écrit :
I'm trying to use the terms facet to return facets that reflect the entire string stored in a field. For example:
"facet_field": "FOO BAR"
"facet_field": "BAR BAR"
"facet_field": "BAR BAR"
is currently returning:
"FOO": 1
"BAR": 3
but I would like it to return:
"FOO BAR" : 1
"BAR BAR" : 2
Could someone point in the right direction? Thanks!
--
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 .
--
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 .