I'm writing ElasticSearch (v 1.7) query to find all urls that do not start with http. But my mapping results with an empty result (while I definitely have urls not starting with http). Could you help me to fix it?
"query": {
"regexp":{
"url": {
"value": "@&~(http.+)",
"flags" : "ANYSTRING"
}
}
}
"flags" : "ALL"or remove"flags" : "ANYSTRING"without adding anything