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:
- If i check /_termvectors for my fields after setting to "docs". I can see "term_freq", "position", "start_offset", "end_offset" values are generated
- 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 ?