Wildcard queries don't work with _id field

Hello, all!

I'm trying to issue a following query on _id field

{
"query": {
"bool": {
"must": [
{
"wildcard": {
"myindex._id": "*"
}
}
],
"must_not": [],
"should": []
}
},
"from": 0,
"size": 50,
"sort": [],
"facets": {}
}

and it returns no result set.

Note, that I've specified the mapping for _id field as follows:
{
"myindex": {
"properties": {
"_id": {
"type": "string",
"index": "not_analyzed"
}
}
}
}

But if I substitute wildcard query with term, prefix or query_string - than
query will return result set.

Could someone explain to me this behaviour of a wildcard query?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.