tonyguo2022 commented on issue #763:
URL: https://github.com/apache/lucenenet/issues/763#issuecomment-1319350119
@rclabo It is same for write.
```
> MetadataIndexFileOutput.WriteByte(byte b) Line 55 C#
Lucene.Net.Store.DataOutput.WriteInt32(int i) Unknown
Lucene.Net.Codecs.CodecUtil.WriteFooter(Lucene.Net.Store.IndexOutput
out) Unknown
Lucene.Net.Store.CompoundFileWriter.Dispose() Unknown
Lucene.Net.Store.CompoundFileDirectory.Dispose(bool disposing) Unknown
Lucene.Net.Store.Directory.Dispose() Unknown
Lucene.Net.Util.IOUtils.Dispose(System.IDisposable[] objects) Unknown
Lucene.Net.Index.IndexWriter.CreateCompoundFile(Lucene.Net.Util.InfoStream
infoStream, Lucene.Net.Store.Directory directory, Lucene.Net.Index.CheckAbort
checkAbort, Lucene.Net.Index.SegmentInfo info, Lucene.Net.Store.IOContext
context) Unknown
Lucene.Net.Index.DocumentsWriterPerThread.SealFlushedSegment(Lucene.Net.Index.DocumentsWriterPerThread.FlushedSegment
flushedSegment) Unknown
Lucene.Net.Index.DocumentsWriterPerThread.Flush() Unknown
Lucene.Net.Index.DocumentsWriter.DoFlush(Lucene.Net.Index.DocumentsWriterPerThread
flushingDWPT) Unknown
Lucene.Net.Index.DocumentsWriter.FlushAllThreads(Lucene.Net.Index.IndexWriter
indexWriter) Unknown
Lucene.Net.Index.IndexWriter.PrepareCommitInternal() Unknown
Lucene.Net.Index.IndexWriter.CommitInternal() Unknown
Lucene.Net.Index.IndexWriter.Commit() Unknown
```
But so far we don't really need async WriteByte. we can write to memory and
do async after commit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]