Currently ElasticSearch converts numeric values to byte arrays for storing. However Lucene has native storage of numeric values which has less overhead.
We need to support backwards compatibility with indexes using the byte array encoding, therefore we will use the ElasticSearch index version as a way to identify those indexes that will be using the byte array encoding and those that will be using the native encoding.
Currently ElasticSearch converts numeric values to byte arrays for storing. However Lucene has native storage of numeric values which has less overhead.
We need to support backwards compatibility with indexes using the byte array encoding, therefore we will use the ElasticSearch index version as a way to identify those indexes that will be using the byte array encoding and those that will be using the native encoding.