Hi,
We have made an entry in elasticsearch.yml for refresh_interval as
index.refresh_interval: 1s
But its not honouring the setting .
When I get setting to cluster to it.
curl -XGET 'http://localhost:9200/test/_settings?pretty=true'
{
"test" : {
"settings" : {
"index.analysis.analyzer.my_analyzer.tokenizer" : "keyword",
"index.analysis.analyzer.my_analyzer.filter" : "lowercase",
"index.number_of_shards" : "5",
"index.number_of_replicas" : "2",
"index.version.created" : "900199",
}
}
}
But when make a rest call
curl -XPUT 'http://localhost:9200/*/_settings' -d '{"index" :
{"refresh_interval" : "1s"}}'
curl -XGET 'http://localhost:9200/test/_settings?pretty=true'
{
"test" : {
"settings" : {
"index.analysis.analyzer.my_analyzer.tokenizer" : "keyword",
"index.analysis.analyzer.my_analyzer.filter" : "lowercase",
"index.number_of_shards" : "5",
"index.number_of_replicas" : "2",
"index.version.created" : "900199",
"index.refresh_interval" : "1s"
}
}
}
Thanks,
Arjit
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.