How to execute exists query for a enabled false property fields

How to execute exists query for a enabled false property fields

Hi @sriteja_chebrolu

It is unclear what exactly you mean can you please provide the exact mapping fit the field your are interested in.

Also what version are you on?

Hi @stephenb

properties" : {
"summary" : {
"type" : "object",
"enabled" : false
}
}
This is my mapping of the field summary, it is enabled false.
Is it possible to execute Exists query on this field?
If yes please provide the steps

Which version of Elasticsearch are you using?

Fields within this object are not indexed at all, so can not be queried directly. One way to possibly get around this might be to use a runtime field that processes the source, but whether this is possible or not might depend on the version you are using.

My Elasticsearch version: 7.17

Then I it might be possible, although I have not myself used it this way. Have a look at the docs here.