ResetSkip() публичный Метод

public ResetSkip ( ) : void
Результат void
Пример #1
0
 public override void StartTerm()
 {
     freqStart = freqOut.GetFilePointer();
     //if (DEBUG) System.out.println("SPW: startTerm freqOut.fp=" + freqStart);
     if (proxOut != null)
     {
         proxStart = proxOut.GetFilePointer();
     }
     // force first payload to write its length
     lastPayloadLength = -1;
     // force first offset to write its length
     lastOffsetLength = -1;
     skipListWriter.ResetSkip();
 }
Пример #2
0
 public override void StartTerm()
 {
     FreqStart = FreqOut.FilePointer;
     //if (DEBUG) System.out.println("SPW: startTerm freqOut.fp=" + freqStart);
     if (ProxOut != null)
     {
         ProxStart = ProxOut.FilePointer;
     }
     // force first payload to write its length
     LastPayloadLength = -1;
     // force first offset to write its length
     LastOffsetLength = -1;
     SkipListWriter.ResetSkip();
 }
Пример #3
0
 public override void StartTerm()
 {
     freqStart = freqOut.Position; // LUCENENET specific: Renamed from getFilePointer() to match FileStream
     //if (DEBUG) System.out.println("SPW: startTerm freqOut.fp=" + freqStart);
     if (proxOut != null)
     {
         proxStart = proxOut.Position; // LUCENENET specific: Renamed from getFilePointer() to match FileStream
     }
     // force first payload to write its length
     lastPayloadLength = -1;
     // force first offset to write its length
     lastOffsetLength = -1;
     skipListWriter.ResetSkip();
 }