Space saving for index=false

Hi

I have an index that is 300gb in size with all 30 fields index=true. I tried setting 15 of the fields with index=false on another index and did a reindexing to compare the size.
The end result is that there seems to be no space saving. The size remains the same for both index. Anyone done this test before or is there other settings that might affect the results?

How did you compare the index sizes?

The only accurate way to compare index sizes is if both have the same number of shards and both have been forced merged to 1 segment.

1 Like

by looking at _cat/indices

the indexes have same number of shards. I will try to do a force merge to 1 segment and compare again

Actually most accurate is

POST /my-index-000001/_disk_usage?run_expensive_tasks=true

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