public override TermsEnum GetEnumerator() { var termsEnum = new TVTermsEnum(outerInstance); termsEnum.Reset(numTerms, tvfFPStart, storePositions, storeOffsets, unicodeSortOrder); return(termsEnum); }
public override TermsEnum GetEnumerator() { var termsEnum = new TVTermsEnum(); termsEnum.Reset(numTerms, flags, prefixLengths, suffixLengths, termFreqs, positionIndex, positions, startOffsets, lengths, payloadIndex, payloadBytes, new ByteArrayDataInput(termBytes.Bytes, termBytes.Offset, termBytes.Length)); return(termsEnum); }
public override TermsEnum GetEnumerator(TermsEnum reuse) { if (reuse is null || !(reuse is TVTermsEnum termsEnum) || !termsEnum.CanReuse(outerInstance.tvf)) termsEnum = new TVTermsEnum(outerInstance); termsEnum.Reset(numTerms, tvfFPStart, storePositions, storeOffsets, storePayloads); return termsEnum; }
public override TermsEnum GetEnumerator(TermsEnum reuse) { if (reuse is null || !(reuse is TVTermsEnum termsEnum) || !termsEnum.CanReuse(outerInstance.tvf)) { termsEnum = new TVTermsEnum(outerInstance); } termsEnum.Reset(numTerms, tvfFPStart, storePositions, storeOffsets, unicodeSortOrder); return(termsEnum); }
public override TermsEnum GetEnumerator() { var termsEnum = new TVTermsEnum(outerInstance); termsEnum.Reset(numTerms, tvfFPStart, storePositions, storeOffsets, storePayloads); return termsEnum; }