public boolean isIndexTerm(BytesRef term, TermStats stats) {if (stats.docFreq >= docFreqThresh || count >= interval) {count = 1;return true;} else {count++;return false;}}
public override bool IsIndexTerm(BytesRef term, TermStats stats){if (stats.DocFreq >= docFreqThresh || count >= interval){count = 1;return true;}else{count++;return false;}}