ReqExclScorer::ReqExclScorer(ScorerPtr reqScorer, DocIdSetIteratorPtr exclDisi) : Scorer(SimilarityPtr()) // No similarity used. { this->reqScorer = reqScorer; this->exclDisi = exclDisi; this->doc = -1; }
ReqExclScorer::ReqExclScorer(const ScorerPtr& reqScorer, const DocIdSetIteratorPtr& exclDisi) : Scorer(SimilarityPtr()) { // No similarity used. this->reqScorer = reqScorer; this->exclDisi = exclDisi; this->doc = -1; }