jainankitk opened a new pull request, #14560:
URL: https://github.com/apache/lucene/pull/14560

   ### Description
   Enables efficient histogram collection using point range query, when 
querying field is same as the histogram field
   
   Resolves https://github.com/apache/lucene/issues/14535
   
   
   ### Testing
   Successfully ran the tests 10k times.
   
   ```
   > Task :lucene:sandbox:test
   :lucene:sandbox:test (SUCCESS): 10000 test(s)
   
   > Task :lucene:sandbox:wipeTaskTemp
   The slowest suites (exceeding 1s) during this run:
     109.33s TestHistogramCollectorManager (:lucene:sandbox)
   
   BUILD SUCCESSFUL in 1m 53s
   246 actionable tasks: 92 executed, 154 up-to-date
   ```
   
   Initially they were failing due to first bucket occasionally not having any 
documents, causing `finalizePreviousBucket` to not move to the next bucket. 
That also addresses the TODO from earlier
   ```
   java.lang.AssertionError: expected:<[2=>1041, 3=>671, 1=>1007]> but was:<[]>
   ```
   <!--
   If this is your first contribution to Lucene, please make sure you have 
reviewed the contribution guide.
   https://github.com/apache/lucene/blob/main/CONTRIBUTING.md
   -->
   


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