public void OptimizeParametersPefaultSetAll()
        {
            var optimizeParameters = new OptimizeParameters
            {
                Flush                 = false,
                NumberOfShards        = 4,
                OnlyExpungeDeletesSet = true,
                WaitForMerge          = false
            };

            Assert.Equal(optimizeParameters.GetOptimizeParameters(), "?max_num_segments=4&only_expunge_deletes=true&flush=false&wait_for_merge=false");
        }
        public void OptimizeParametersPefaultTest()
        {
            var optimizeParameters = new OptimizeParameters();

            Assert.Empty(optimizeParameters.GetOptimizeParameters());
        }