I'm storing search terms in ElasticSearch, and then trying to do things
like find the top 5 search terms.
When I write queries to do this, instead of getting top 5 occurring search
terms, I'm getting the top 5 occurring words.
term1 = Tomb Raider: Temple of Light
term2 = Tomb Raider 1
term3 = Tomb Raider 2
term4 = Tomb Raider: Chronicles
term5 = Tomb Raider: Chronicles
term6 = Tomb Raider: Chronicles
Instead of getting 'Tomb Raider: Chronicles' as a top occurring search
term, I'm getting
'Tomb' and 'Raider' as individual words. How do I get ES to query the
I've read all the docs and have looked at using not_analyzed and then
referring to term as term.raw in the query - but when I do this I just get
an empty bucket returned.
Could anyone point me in the right direction? I have a feeling this might
be a mapping issue.
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@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bc93f546-2ca4-4a57-b9b1-e7b3f9750992%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.