NewSegmentName() private method

private NewSegmentName ( ) : System.String
return System.String
コード例 #1
0
 private void EnsureInitialized(ThreadState state)
 {
     if (state.IsActive && state.dwpt == null)
     {
         FieldInfos.Builder infos = new FieldInfos.Builder(writer.globalFieldNumberMap);
         state.dwpt = new DocumentsWriterPerThread(writer.NewSegmentName(), directory, config, infoStream, deleteQueue, infos);
     }
 }
コード例 #2
0
ファイル: DocumentsWriter.cs プロジェクト: zfxsss/lucenenet
 private void EnsureInitialized(ThreadState state)
 {
     if (state.Active && state.Dwpt == null)
     {
         FieldInfos.Builder infos = new FieldInfos.Builder(Writer.GlobalFieldNumberMap);
         state.Dwpt = new DocumentsWriterPerThread(Writer.NewSegmentName(), Directory, LIWConfig, InfoStream, DeleteQueue, infos);
     }
 }