// protected override bool SetFreqCurrentDoc() { if (!m_more) { return(false); } m_doc = spans.Doc; m_freq = 0.0f; m_payloadScore = 0; payloadsSeen = 0; do { int matchLength = spans.End - spans.Start; m_freq += m_docScorer.ComputeSlopFactor(matchLength); Spans[] spansArr = new Spans[1]; spansArr[0] = spans; GetPayloads(spansArr); m_more = spans.MoveNext(); } while (m_more && (m_doc == spans.Doc)); return(true); }