Hi,
I've installed mapper size plugin on all of our elastic nodes, I can see/use the size field, when I enable it on an index:
PUT index-xxx/_mapping
{
"_size": {
"enabled": true
}
}
and create a scripted field, but how to enable _size for good? Because of ILM policy, every new index has _size not enabled. I tried copying existing options in JSON and putting there:
"_size": {
"enabled": true
}
while editing index template and trying to Load JSON, but it says:
1 invalid option detected in mappings object
If you continue loading the object, only valid options will be accepted.
So what's the proper way to enable _size for indices with ILM policy?
Well you can't see that. You just paste your mapping JSON here and then (after clicking on Load and overwrite) the error message I posted above shows up
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.