How to get current index.cache.field.type/max_size/expire settings for an
index? Can these properties be set via HTTP API like this:
curl -XPUT localhost:9200/users/_settings -d '{
"index" : {
"cache.field.type" : "soft",
"cache.field.expire" : "10m"
}
}'
?
AFAIK, if you do not see a property using http://localhost:9200/users/_settings,
then the index is using the default. There really should be a verbose flag.
Only certain properties can be set while the cluster is running, and they
are set using IndexMetaData.addDynamicSettings(). From what I can see,
those settings are not dynamic and therefore cannot be changed.
How to get current index.cache.field.type/max_size/expire settings for an
index? Can these properties be set via HTTP API like this:
curl -XPUT localhost:9200/users/_settings -d '{
"index" : {
"cache.field.type" : "soft",
"cache.field.expire" : "10m"
}
}'
?
AFAIK, if you do not see a property using http://localhost:9200/users/_settings,
then the index is using the default. There really should be a verbose flag.
Only certain properties can be set while the cluster is running, and they
are set using IndexMetaData.addDynamicSettings(). From what I can see,
those settings are not dynamic and therefore cannot be changed.
How to get current index.cache.field.type/max_size/expire settings for an
index? Can these properties be set via HTTP API like this:
curl -XPUT localhost:9200/users/_settings -d '{
"index" : {
"cache.field.type" : "soft",
"cache.field.expire" : "10m"
}
}'
?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.