Re: Duplicate scoring situation in DelegatingCollector

2014-11-21 Thread Joel Bernstein
Sounds like you'll want use the ScoreCachingWrappingScorer. Your DelegatingCollector can wrap the ScoreCachingWrappingScorer around the scorer passed into the setScorer(Scorer) method and pass it to down the collector chain. Joel Bernstein Search Engineer at Heliosearch On Fri, Nov 14, 2014 at 3:

Duplicate scoring situation in DelegatingCollector

2014-11-14 Thread Andy Crossen
Hi folks, I have a DelegatingCollector installed via a PostFilter (kind of like an AnalyticsQuery) that needs the document score to a) add to a collection of score-based stats, and b) decide whether to keep the document based on the score. If I keep the document, I call super.collect() (where sup