/// <summary> Returns the docFreq of the current Term in the enumeration. /// Returns -1 if no Term matches or all terms have been enumerated. /// </summary> public override int DocFreq() { if (actualEnum == null) { return(-1); } return(actualEnum.DocFreq()); }
/// <summary> Returns the docFreq of the current Term in the enumeration. /// Returns -1 if no Term matches or all terms have been enumerated. /// </summary> public override int DocFreq() { if (currentTerm == null) { return(-1); } System.Diagnostics.Debug.Assert(actualEnum != null); return(actualEnum.DocFreq()); }