romseygeek opened a new issue, #15794:
URL: https://github.com/apache/lucene/issues/15794

   ### Description
   
   Currently, if a consumer of a numeric or ordinal-based docvalues iterator 
wants to know if the field is multivalued, then they need to access it via 
DocValues.getSortedXXX and then check to see if the returned iterator can be 
unwrapped to a singleton.  This is fragile, and not necessarily supported by 
Codecs.  We could build more consistent checks by storing a global 
maxValueCount entry on DocValuesSkipper.  A singleton check can then be done by 
seeing if the global maxValueCount is equal to 1.


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