Alessandro Benedetti <benedetti.ale...@gmail.com> wrote: > DocValues is a strategy to store on the disk ( or in memory) the > Un-inverted index for the field of interests.
True. > This has been done to SPEED UP the faceting calculus using the "fc" > algorithm, and improve the memory usage. Part of the reason was to speed up the _startup_ time for faceting. This is not the first time I read about people getting poorer query-performance with DocValues. It does make sense: DocValues in the index means that they compete with other files for disk caching and even when they are fully cached, the UnInverted structure has a speed edge due to being directly accessible as standard on-heap memory structures. The difference is likely to vary a great deal depending on concrete corpus & hardware. - Toke Eskildsen