jpountz commented on PR #14204:
URL: https://github.com/apache/lucene/pull/14204#issuecomment-2640553823

   I agree that providing a small interval is a bad usage pattern. I don't know 
how to validate this though, since we can't know the range of values of the 
docs that match the query up-front. Even if the sparse index exposes the min 
and max values across whole segments, it may be that the query only matches a 
small subset of these values (e.g. if it filters on the same field that is used 
to compute the histogram).
   
   So I guess that the only option is to fail at runtime. I can do that. What 
looks like a reasonable cap on the number of returned intervals? 1024?


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to