lucene icon indicating copy to clipboard operation
lucene copied to clipboard

Make dynamic range facets value collection and sorting faster

Open stefanvodita opened this issue 5 months ago • 10 comments

Description

DynamicRangeUtil collects values from each segment and then sorts all the values in the main thread. I wonder if we could get a speed-up from collecting values in each segment, sorting them (maybe doing insertion sort), and then merging the sorted values from all segments, effectively moving more of the work to the executor and doing less in the main thread.

stefanvodita avatar Sep 11 '24 10:09 stefanvodita