it`s strange but widcard query is working
{
"query": {
"wildcard": {
"NE_Name": "*L"
}
}
}
{
"took": 7,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"failed": 0
},
"hits": {
"total": 1285,
"max_score": 1,
"hits": [
{
"_index": "pm-
........
....
..
But regexp query not working. I mean responce is empty
{
"query": {
"regexp": {
"NE_Name": "*L"
}
}
}
{
"took": 1,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"failed": 0
},
"hits": {
"total": 0,
"max_score": null,
"hits": []
}
}
Why ?