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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -