Exemple #1
0
 public override PostingsConsumer StartTerm(BytesRef text)
 {
     //System.out.println("  w term=" + text.utf8ToString());
     outerInstance.skipListWriter.ResetSkip();
     termInfo.FreqPointer = outerInstance.freqOut.GetFilePointer();
     if (outerInstance.proxOut != null)
     {
         termInfo.ProxPointer = outerInstance.proxOut.GetFilePointer();
     }
     return(postingsWriter.Reset());
 }
Exemple #2
0
 public override PostingsConsumer StartTerm(BytesRef text)
 {
     //System.out.println("  w term=" + text.utf8ToString());
     outerInstance.skipListWriter.ResetSkip();
     termInfo.FreqPointer = outerInstance.freqOut.Position; // LUCENENET specific: Renamed from getFilePointer() to match FileStream
     if (outerInstance.proxOut != null)
     {
         termInfo.ProxPointer = outerInstance.proxOut.Position; // LUCENENET specific: Renamed from getFilePointer() to match FileStream
     }
     return(postingsWriter.Reset());
 }
 public override PostingsConsumer StartTerm(BytesRef text)
 {
     return(postingsWriter.Reset());
 }