Need to get Exact match


(rqueen) #1

Hi friends,
I want to get exact matches which is like in
http://elasticsearch-users.115913.n3.nabble.com/Matching-a-document-against-a-keyword-exact-quot-substring-quot-match-between-document-and-keywords-td3686656.html

Is anybody deal with similar functionality Please help me


(vineeth mohan) #2

One way i can think of is to use the terms query.
Break your string into tokens and put them in an array and use -
http://www.elasticsearch.org/guide/reference/query-dsl/terms-query.html

Thanks
Vineeth

On Mon, Mar 26, 2012 at 11:52 AM, lucky lakshmi27.u@gmail.com wrote:

Hi friends,
I want to get exact matches which is like in

http://elasticsearch-users.115913.n3.nabble.com/Matching-a-document-against-a-keyword-exact-quot-substring-quot-match-between-document-and-keywords-td3686656.html

Is anybody deal with similar functionality Please help me


(rqueen) #3

I don't want to send by break words.Is there any other alternatives

On Mon, Mar 26, 2012 at 1:53 PM, Vineeth Mohan vineethmohan@algotree.comwrote:

One way i can think of is to use the terms query.
Break your string into tokens and put them in an array and use -
http://www.elasticsearch.org/guide/reference/query-dsl/terms-query.html

Thanks
Vineeth

On Mon, Mar 26, 2012 at 11:52 AM, lucky lakshmi27.u@gmail.com wrote:

Hi friends,
I want to get exact matches which is like in

http://elasticsearch-users.115913.n3.nabble.com/Matching-a-document-against-a-keyword-exact-quot-substring-quot-match-between-document-and-keywords-td3686656.html

Is anybody deal with similar functionality Please help me


(system) #4