Пример #1
0
 ReqExclScorer::ReqExclScorer(ScorerPtr reqScorer, DocIdSetIteratorPtr exclDisi) : Scorer(SimilarityPtr()) // No similarity used.
 {
     this->reqScorer = reqScorer;
     this->exclDisi = exclDisi;
     this->doc = -1;
 }
Пример #2
0
ReqExclScorer::ReqExclScorer(const ScorerPtr& reqScorer, const DocIdSetIteratorPtr& exclDisi) : Scorer(SimilarityPtr()) { // No similarity used.
    this->reqScorer = reqScorer;
    this->exclDisi = exclDisi;
    this->doc = -1;
}