Reputation: 1329
{
"from" : 0,
"size" : 1000,
"query" : {
"bool" : {
"must" : {
"wildcard" : {
"_all" : "*tunnel*"
}
}
}
}
}
I'm trying to execute a query to search all fields containing the phrase tunnel
. I have titles called tunnel.xml and get no results. What am I missing here?
Upvotes: 0
Views: 69
Reputation: 12840
GET data/Company/_search
{
"query": {
"query_string": {
"query": "*tunnel*"
}
}
}
Upvotes: 1