public SimpleTextTermsEnum(SimpleTextFieldsReader outerInstance, FST <PairOutputs <long?, PairOutputs <long?, long?> .Pair> .Pair> fst, IndexOptions indexOptions) { _outerInstance = outerInstance; _indexOptions = indexOptions; _fstEnum = new BytesRefFSTEnum <PairOutputs <long?, PairOutputs <long?, long?> .Pair> .Pair>(fst); }
public SimpleTextDocsAndPositionsEnum Reset(long fp, Bits liveDocs, IndexOptions indexOptions, int docFreq) { _liveDocs = liveDocs; _nextDocStart = fp; _docId = -1; _readPositions = indexOptions.CompareTo(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS) >= 0; _readOffsets = indexOptions.CompareTo(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS) >= 0; if (!_readOffsets) { _startOffset = -1; _endOffset = -1; } _cost = docFreq; return(this); }
public SimpleTextTermsEnum(SimpleTextFieldsReader outerInstance, FST<PairOutputs<long?, PairOutputs<long?,long?>.Pair>.Pair> fst, IndexOptions indexOptions) { _outerInstance = outerInstance; _indexOptions = indexOptions; _fstEnum = new BytesRefFSTEnum<PairOutputs<long?, PairOutputs<long?,long?>.Pair>.Pair>(fst); }
public SimpleTextDocsAndPositionsEnum Reset(long fp, Bits liveDocs, IndexOptions indexOptions, int docFreq) { _liveDocs = liveDocs; _nextDocStart = fp; _docId = -1; _readPositions = indexOptions >= IndexOptions.DOCS_AND_FREQS_AND_POSITIONS; _readOffsets = indexOptions >= IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS; if (!_readOffsets) { _startOffset = -1; _endOffset = -1; } _cost = docFreq; return this; }