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 :-
You're setting the size parameter to 0 in your queries so it won't return
anything. Also, you need to have an copy of the URL value in your index
that is not analyzed which you can use for your wildcard query. In your
mapping you need to specify that you want to index the URL value verbatim:
Using the mapping above the URL value will be indexed using default
standard analyzer, it will also index a verbatim copy of the value as
specified by the 'untouched' field which you would use in the wildcard
query:
On Thursday, April 17, 2014 8:55:20 PM UTC+1, Mohit Kumar Yadav wrote:
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 :-
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.