public CustomScorer(BoostedQuery outerInstance, AtomicReaderContext readerContext, BoostedQuery.BoostedWeight w, float qWeight, Scorer scorer, ValueSource vs) : base(w) { this.outerInstance = outerInstance; this.weight = w; this.qWeight = qWeight; this.scorer = scorer; this.readerContext = readerContext; this.vals = vs.GetValues(weight.fcontext, readerContext); }