private InitFlushState ( bool onlyDocStore ) : void | ||
onlyDocStore | bool | |
return | void |
private void InitFlushState(bool onlyDocStore)
{
lock (this)
{
InitSegmentName(onlyDocStore);
flushState = new SegmentWriteState(this, directory, segment, docStoreSegment, numDocsInRAM, numDocsInStore, writer.TermIndexInterval);
}
}