Re: Slower fetch document after upgrade >=8.7

2021-04-08 Thread Adrien Grand
I just opened https://issues.apache.org/jira/browse/LUCENE-9917. On Thu, Apr 8, 2021 at 4:34 PM Никита Михайлов wrote: > Thank you. Understood the policy > > > I have some changes to stored fields on my plate, I'll include this > change as well. > > Is there a ticket for this change? > > чт, 8 а

Re: Slower fetch document after upgrade >=8.7

2021-04-08 Thread Никита Михайлов
Thank you. Understood the policy > I have some changes to stored fields on my plate, I'll include this change as > well. Is there a ticket for this change? чт, 8 апр. 2021 г. в 15:30, Adrien Grand : > > Actually, we don't plan to have flexible settings even for advanced > developers. Our stance

Re: Slower fetch document after upgrade >=8.7

2021-04-08 Thread Adrien Grand
Actually, we don't plan to have flexible settings even for advanced developers. Our stance on these discussions is that we should be opinionated about the default codec and not offer any options. Rather than exposing advanced settings for advanced users, these advanced users can build their own cod

Re: Slower fetch document after upgrade >=8.7

2021-04-08 Thread Никита Михайлов
Thanks for the reply. The problem of understanding. You can make flexible settings for advanced developers, leaving two facets by default. In tests, check these facets Never change them so that the developers themselves explicitly set the settings. IMHO, I think this will help to avoid such proble

Re: Slower fetch document after upgrade >=8.7

2021-04-07 Thread Adrien Grand
Thanks for the feedback. We don't want to offer too many choices, as it complicates backward compatibility testing, and want to stick to two options at most. Since this is the second time I'm seeing this feedback, I'm inclined to reduce the block size for BEST_SPEED in order to trade a bit of com

Slower fetch document after upgrade >=8.7

2021-04-07 Thread Никита Михайлов
Hi BEST_SPEED has been changed in LUCENE-9447 and LUCENE-9486. For this reason, retrieving data from elasticsearch has slowed down by 10-20%. When there is a lot of data, this is critical Can developers leave the choice of which codec to use: LZ4(16kB) (old BEST_SPEED) or LZ4 with preset dict(BEST_