I have to store documents using ingest-attachement.
This works, and I have need some properties (file meta data such as date, filename, and so on ...).
But I when I run a search query, I don't want the content of the file to be in the response (for network and memory reason), but just meta data properties.
The use case is:
I look for documents with keyword, I get the filemetadata of matching files, then, on demand, I get the real content of the file.
I'm not an ES expert, so, I don't know if the approche is to Index meta data with content BUT withot storing the source content, or if there's a way to query only properties.
Thx for your help!