hi folks,
In my document there is a field which contians only URL as it value.
forexample {"URL" :
"http://www.mohit-kumar-yadav.com\123124343\login_user.html";
}
{"URL" : "http://www.mohit-kumar-yadav.com\home_user.html"}
how can i search these documents.
I am using following query :-

1. Curl -XGET '
http://localhost:9200/message_index/message_indext/_search?size=0'
-d'{"query":{"wildcard":{"URL":"*mohit-kumar-yadav*"}}}'

no result.. query return zero hits

2. Curl -XGET '
http://localhost:9200/message_index/message_indext/_search?size=0'
-d'{"query":{"field":{"URL":"http://www.mohit-kumar-yadav.com"}}}'

no result.. query return zero hits

3.  Curl -XGET '
http://localhost:9200/message_index/message_indext/_search?size=0'
-d'{"fuzzy_like_this_field" : {"URL" : {"like_text" : "
www.mohit-kumar-yadav.com","max_query_terms" : 25}}}'

no result.. query return zero hits


please suggest me where i am doing wrong..

Thanks in advance..!!!

Regrads
Mohit

-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAK6eDKeTjswArfEDyzfs1dZ%2BbqSvbJybXb0EfV_uXSDwXurnig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to