Re: How to access block-max metadata?

2020-10-11 Thread Adrien Grand
Hi Alex, The entry point for block-max metadata is TermsEnum#impacts ( https://lucene.apache.org/core/8_6_0/core/org/apache/lucene/index/TermsEnum.html#impacts(int)) which returns a view of the postings lists that includes block-max metadata. In particular, see documentation for ImpactsSource#adva

How to access block-max metadata?

2020-10-11 Thread Alex K
Hi all, There was some fairly recent work in Lucene to introduce Block-Max WAND Scoring ( https://cs.uwaterloo.ca/~jimmylin/publications/Grand_etal_ECIR2020_preprint.pdf , https://issues.apache.org/jira/browse/LUCENE-8135). I've been working on a use-case where I need very efficient top-k scoring