If I ask for
file field in my query explicitly, the field
file in the response will contain extracted text. If I don't ask for any fields, the field
file (in source) will be a subdocument with
_content, etc. I don't quite get how does it work, am I missing some basic Elasticsearch knowledge here?
I belive that the extraction isn't happening on each search (as I set
"store": true for the file field), but there is no extracted text anywhere in
_source. Where is it stored?
PS: By the way, if I set
"store": false, will Elastic re-extract text from base64 on each search request?