ResetSkip() public method

public ResetSkip ( ) : void
return void
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }