Exemple #1
0
            internal SepDocsAndPositionsEnum(SepPostingsReader outerInstance)
            {
                _outerInstance = outerInstance;
                _docReader     = outerInstance._docIn.Reader();
                _docIndex      = outerInstance._docIn.Index();
                _freqReader    = outerInstance._freqIn.Reader();
                _freqIndex     = outerInstance._freqIn.Index();
                _posReader     = outerInstance._posIn.Reader();
                _posIndex      = outerInstance._posIn.Index();
                _payloadIn     = (IndexInput)outerInstance._payloadIn.Clone();

                START_DOC_IN = outerInstance._docIn;
            }
Exemple #2
0
            internal SepDocsEnum(SepPostingsReader outerInstance)
            {
                _outerInstance = outerInstance;
                _docReader     = outerInstance._docIn.Reader();
                _docIndex      = outerInstance._docIn.Index();
                if (outerInstance._freqIn != null)
                {
                    _freqReader = outerInstance._freqIn.Reader();
                    _freqIndex  = outerInstance._freqIn.Index();
                }
                else
                {
                    _freqReader = null;
                    _freqIndex  = null;
                }
                _posIndex = outerInstance._posIn != null?outerInstance._posIn.Index() : null;

                START_DOC_IN = outerInstance._docIn;
            }
 public override void Seek(IntIndexInputReader other)
 {
     ((MockReader)other)[email protected](fp);
 }
Exemple #4
0
 /// <summary>Seeks primary stream to the last read offset </summary>
 public abstract void Seek(IntIndexInputReader stream);
 public override void Seek(IntIndexInputReader other)
 {
     ((InputReader)other).Seek(fp, upto);
 }
Exemple #6
0
 /// <summary>Seeks primary stream to the last read offset </summary>
 public abstract void Seek(IntIndexInputReader stream);
            internal SepDocsAndPositionsEnum(SepPostingsReader outerInstance)
            {
                _outerInstance = outerInstance;
                _docReader = outerInstance._docIn.Reader();
                _docIndex = outerInstance._docIn.Index();
                _freqReader = outerInstance._freqIn.Reader();
                _freqIndex = outerInstance._freqIn.Index();
                _posReader = outerInstance._posIn.Reader();
                _posIndex = outerInstance._posIn.Index();
                _payloadIn = (IndexInput) outerInstance._payloadIn.Clone();

                START_DOC_IN = outerInstance._docIn;
            }
            internal SepDocsEnum(SepPostingsReader outerInstance)
            {
                _outerInstance = outerInstance;
                _docReader = outerInstance._docIn.Reader();
                _docIndex = outerInstance._docIn.Index();
                if (outerInstance._freqIn != null)
                {
                    _freqReader = outerInstance._freqIn.Reader();
                    _freqIndex = outerInstance._freqIn.Index();
                }
                else
                {
                    _freqReader = null;
                    _freqIndex = null;
                }
                _posIndex = outerInstance._posIn != null ? outerInstance._posIn.Index() : null;

                START_DOC_IN = outerInstance._docIn;
            }