sgup432 commented on PR #16358:
URL: https://github.com/apache/lucene/pull/16358#issuecomment-4899081238

   @romseygeek I have opened a draft PR here - 
https://github.com/sgup432/lucene/pull/1 on top of this PR. Basically 
showcasing how we can read the stats available for a field, building on top of 
this PR nicely.
   
   Essentially it exposes two API: 
   - DocValuesField which stores the default stats which exist(min, max etc) 
and then provides a way to know and then fetch other stats available. 
Decoupling it from DocValuesSkipper.
   - SkipStat<T>: This can be used to add new stats. Generic type
   
   
   Also did some did integration in some places(for reference) to fetch stats 
from DocValuesField without opening the skip index file.


-- 
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