Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add `scaled_float`. #19264
This is a tentative to revive #15939 motivated by elastic/beats#1941.
So this PR exposes a new
In addition to being more space-efficient for some use-cases that beats is
To give more detailed information about why half floats are not enough, here is a table that gives disk usage for storing 10M random floats between 0 and 1 depending on the mapping:
Of course this is not a good benchmark since this is fake data, but given how points and doc values work this simulates the worst case and real data could expect even better disk utilization.
referenced this pull request
Jul 7, 2016
Updated numbers with https://issues.apache.org/jira/browse/LUCENE-7371: