java - Elasticsearch - Search Term is broken down and pulls unwanted results -


if search query 'elasticsearch', pulls documents has content 'search'.

example -

 {"query":{"bool" : {"should": [{             "match" : { "title" : "cocacola" }         }]}}} 

this query pulls documents containing title - 'cola' too.

how can avoid documents appearing.


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

sql - The object name contains more than the maximum number of prefixes. The maximum is 2 -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -