Closed
Description
@rmuir had this idea:
Today, when ES auto-generates an ID (TimeBasedUUIDGenerator.getBase64UUID
), it uses 15 bytes, but then we immediately Base64 encode that to 20 bytes, a 33% "waste".
This is really a holdover from the past when Lucene could not index fully binary terms.
I think we should explore passing the raw binary form to Lucene instead? We could implement back-compat based on the version as of when the index was created.