Mappings Issue

Hi,
I have a field in my index with the mapping and custom analyzer has followed:
Mapping:
"BookingNo" : {
"type" : "text",
"fields" : {
"lowercase_keyword" : {
"type" : "text",
"analyzer" : "lowercase_keyword_analyzer"
}
}
}
custom analyzer:
"analysis" : {
"analyzer" : {
"lowercase_keyword_analyzer" : {
"filter" : [
"lowercase"
],
"type" : "custom",
"tokenizer" : "keyword"
}
}
}
When i try to search whether the field exist in the document using the query

GET index-name/_search
{
"query": {
"bool": {
"must": {
"exists": {
"field": "BookingNo.lowercase_keyword"
}
}
}
}
}

It returns around 1500 document but when i check those documents the field doesn't exist
What could be the reason for it?

Please format your code/logs/config using the </> button, or markdown style back ticks. It helps to make things easy to read which helps us help you :slight_smile:

It'd be useful if you shared an example document that is being returned that doesn't have the field.