internal MVInnerScorer(TermsIncludingScoreQuery outerInstance, /* Weight weight, // LUCENENET: Never read */ IBits acceptDocs, TermsEnum termsEnum, int maxDoc /*, long cost // LUCENENET: Never read */) : base(outerInstance, /*weight, // LUCENENET: Never read */ acceptDocs, termsEnum /*, cost // LUCENENET: Never read */) { alreadyEmittedDocs = new FixedBitSet(maxDoc); }
internal SVInnerScorer(TermsIncludingScoreQuery outerInstance, /* Weight weight, // LUCENENET: Never read */ IBits acceptDocs, TermsEnum termsEnum /*, long cost // LUCENENET: Never read */) { this.outerInstance = outerInstance; _acceptDocs = acceptDocs; _termsEnum = termsEnum; //_cost = cost; // LUCENENET: Never read _doc = -1; }
internal SVInOrderScorer(TermsIncludingScoreQuery outerInstance, Weight weight, IBits acceptDocs, TermsEnum termsEnum, int maxDoc, long cost) : base(weight) { this.m_outerInstance = outerInstance; FixedBitSet matchingDocs = new FixedBitSet(maxDoc); scores = new float[maxDoc]; FillDocsAndScores(matchingDocs, acceptDocs, termsEnum); matchingDocsIterator = matchingDocs.GetIterator(); this.cost = cost; }
public override Query Rewrite(IndexReader reader) { Query originalQueryRewrite = _originalQuery.Rewrite(reader); if (originalQueryRewrite != _originalQuery) { Query rewritten = new TermsIncludingScoreQuery(_field, _multipleValuesPerDocument, _terms, _scores, _ords, originalQueryRewrite, _originalQuery); rewritten.Boost = Boost; return(rewritten); } return(this); }
internal MVInOrderScorer(TermsIncludingScoreQuery outerInstance, Weight weight, IBits acceptDocs, TermsEnum termsEnum, int maxDoc, long cost) : base(outerInstance, weight, acceptDocs, termsEnum, maxDoc, cost) { }
public WeightAnonymousClass(TermsIncludingScoreQuery outerInstance, Weight originalWeight) { this.outerInstance = outerInstance; this.originalWeight = originalWeight; }