Hello All,
I would like to perform EXACT Match (Example Search : "Firstname Lastname")
in a String field "ArticleBody" where the value of the field is a big
chunk of text and within in this text I would like to perform the exact
match.
I came across couple of links:
http://paulsabou.com/blog/2012/03/25/advanced-exact-matching-with-elastic-search/
http://gauth.fr/2012/08/exact-search-with-elasticsearch/
which explains that if we change the mapping of the filed to
"not_analyzed", then the entire field value will be considered as one
string and I understand that this will only work where the field values are
2-3 words and wanted to be considered as one single term.
But in my case the Field "ArticleBody" will contain a very big chunk of
text(I dont want to treat the entire body of the article as single string)
and would like to find specific keywords(like: "Elastic Search", "Firstname
Lastname") within this text.
Can this be done ? Please shed some light on this.
Many thanks in advance,
Shannu.
--