Significance of field param "store" to fetch data fast

Hi all,

I want to fetch one field data very frequent, so i want to store that field data in memory for all documents, so when i fetch via search query by _source, the result will be faster. In normal case it takes too much time when we put any field name in _source.

So i found "store" is there as field param, i want to know is there any drawback of using this or any other better solution.

Bye.

Using store is the way to go if you just want to read one or few fields instead of _source.

It does not mean that the field will be read from memory. Segments might be cached by the OS though.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.