Re: Improving DocValue sorting performance

2019-03-13 Thread Toke Eskildsen
On Mon, 2019-02-11 at 13:42 +0100, Daniel Penning wrote: > I think sorting and searching on docvalues can benefit from similar > optimizations like impacts do when scoring is used. By storing the > minimum and maximum value for blocks of docvalues it would be > possible to skip over sets of

Re: Improving DocValue sorting performance

2019-02-11 Thread Alan Woodward
+1 This would be a very nice addition, and Toke’s recent work adding jump tables to docvalues would provide a natural place to store the information. > On 11 Feb 2019, at 12:42, Daniel Penning > wrote: > > Hi > > I think sorting and searching on

Improving DocValue sorting performance

2019-02-11 Thread Daniel Penning
Hi I think sorting and searching on docvalues can benefit from similar optimizations like impacts do when scoring is used. By storing the minimum and maximum value for blocks of docvalues it would be possible to skip over sets of documents that don't contain any values in the relevant range.