Maxscore for document pruning in case of custom scorer and collector

Vimal Jain <[email protected]> Fri, 6 Feb 2026 13:44:33 +0530
Newsgroups gmane.comp.jakarta.lucene.user
Message-ID <CADyrYJgjk_OMmCFjX+ESUf==vPMtPYzZKP4Nt6YeRpah4jTweQ@mail.gmail.com>
--000000000000c21575064a236166
Content-Type: text/plain; charset="UTF-8"

Hi Guys,
I am looking for advice on how to make best use of maxscore/wand etc for
document pruning ( so as to speed up query execution overall). I have
custom scorers and collectors. Also my scoring consists of 2 parts ,
termScore * documentBoost. I can provide safe UB in getMaxScore() in my
scorer but not sure how to do the same for document level boost which
involves reading docValues.
Any advice or reference to common practice would be appreciated.
Also is there any general documentation around maxscore/wand/block-max ?

*Thanks and Regards,*
*Vimal Jain*

--000000000000c21575064a236166--