Hi,

In class Lucene80DocValuesConsumer#writeValues(FieldInfo field, 
DocValuesProducer valuesProducer), all numericDocValues will be visited to 
calculate gcd, in the meantime,  we can check if all values were sorted. if so, 
maybe we could use DirectMonotonicWriter to store them.  DirectMonotonicWriter 
can get impressive compression.

In addition, when i use Elasticsearch to store numeric field types, in Lucene 
level,  the data always at least stored by 
NumericDocValues/SortedNumericDocValues. So when indexing some sorted values 
like ID, TIMESTAMP, maybe the upon optimization is applicable. 

Could I have some suggestions?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to