What if the value is about an URL like http://google.com in the filed, then is it possible to search the query to exact filter?


#1

What if the value is about an URL like http://google.com in the filed, then is it possible to search the query to exact filter?

GET index/type/_search
{
"size": 20,
"query": {
"match": {
"url": "http://google.com"
}
}
}

i think it didn't work for my search (query and filter), any one can help me look at this? Thank you!!!


(David Pilato) #2

I'd change the mapping and not analyze the field.


#3

Thank you , I will try it out!!


(system) #4