I recently upgrade to elastic search 1.7.5 and I want to restrict the number of segments per index. By default 20 segments (approx.) get created and it increases the response time of search requests to 40-50 ms.
I use optimize to reduce the number of segments to 1 and then the response time is < 10 ms.
I tried to update the index settings to set index.merge.policy.segments_per_tier=3 but it did not reduce the number of segments.
Any help in the same would be appreciated.