mccullocht commented on issue #16392:
URL: https://github.com/apache/lucene/issues/16392#issuecomment-4982485798

   I am also in general supportive of this, it could be helpful for debugging 
size issues, and the residency components could also be used if you abstract 
away the storage layer.
   
   I would prefer a visitor API as well to avoid generating a lot of objects, 
especially because you can build APIs that are simpler to interact with on top 
of it.
   
   I agree that we shouldn't force implementations to produce an extent for 
every byte of the file -- there's going to be some format overhead that isn't 
really accountable to any field, and callers should be able to measure this by 
comparing the byte size of the index to the sum of computed extents.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to