Version: AWS v2.5.0 (OpenSearch_2_5_R20230308-P4)
Describe the issue: If you create a mapping with a value like “_anyname” you can’t filter the documents by the value in the Discovery. And also you will see it in the left panel with an “ask mark (?)”:
In case you try force the search by editing DSL the filter will be created like “_anyname: Error” and don’t filter anything. The DSL query that I am using:
Query DSL:
{
"query": {
"match_phrase": {
"_manualParse": true
}
}
}
But you could filter the values using the DevTools using the following query:
GET <index>/_search
{
"size": 1,
"query": {
"match": {
"_manualParse": true
}
}
}
So, I think the underscore make a kind “special” mapping, but is this mentioned in the documentation? Also, is it possible to enable filters in the Discovery?