Is it possible to turn off field data compression?

Hi,

According to http://lucene.apache.org/core/6_1_0/core/index.html?org/apache/lucene/codecs/lucene60/package-summary.html , Lucene compresses field text data by LZ4. Is it possible to turn off the compression?

Thanks,
Jun

as i know teamplte can use not compression about th data
like:
"settings": {
"index": {
"format": "6",

"codec": "best_compression",

"number_of_shards": "1",
"number_of_replicas": "1"
}
}

No, I don't think you can turn off compression. Why would you want to do that anyway?

This post discusses it in a bit more detail, and should still be relevant even though it covers an old version.