Re: Lucene Approximation

2020-06-02 Thread moritz
tion or at least can get the approximated value, so that I can use it for my own calculations. On 2020-06-02 18:48, Michael Sokolov wrote: You could append an EOF token to every indexed text, and then iterate over Terms to get the positions of those tokens? On Tue, Jun 2, 2020 at 11:50 AM Moritz

Lucene Approximation

2020-06-02 Thread Moritz Staudinger
uses the correct values for the average document length. Is there a way to turn off these approximations or to get the values, so that I can save it for my own calculations? For my Implementation I use Lucene 8.4.1 in Combination with Spring Boot, if this is necessary. Thank you in advance, Moritz