"index_options"="docs" option and its relation with disk space

Inside Tuning for Disk Space i have read something about index_options parameter.

For my use case i currently have the default set. I have tried setting this parameter to "docs", which is not supposed to generate term freq and positional offsets.
I have seen below behaviors:

  1. If i check /_termvectors for my fields after setting to "docs". I can see "term_freq", "position", "start_offset", "end_offset" values are generated :roll_eyes:
  2. But while searching i observe that the above parameters are not considered in calculating score. This is ok and works as expected.

If all the values above are always generated (even though not used while searching), how is "docs" going to save space on disk or in memory ?

Any lead on this topic please?

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