NightOwl888 opened a new pull request, #771:
URL: https://github.com/apache/lucenenet/pull/771

   Discussed in #763.
   
   This changes OfflineSorter to be based on `FileStream` rather than 
`FileInfo`. For intermediate merges, we keep an open `FileStream` for each 
segment so we can take advantage of the reliability of the 
`FileOptions.DeleteOnClose` option.
   
   We also changed `ByteSequencesReader` and `ByteSequencesWriter` to utilize 
`BinaryReader` and `BinaryWriter` instead of `DataInput` and `DataOutput` 
because it is a closer match for how Lucene did it. Lucene's `DataInput` and 
`DataOutput` classes were not used for these APIs, they were using the 
`java.io.DataInput` and `java.io.DataOutput` interfaces.
   
   `BinaryReaderDataInput` and `BinaryReaderDataOutput` were removed from the 
codebase because this change factors them out.
   
   The default buffer size for the streams when using `OfflineSorter`, Suggest, 
or Hunspell have all been increased from the .NET default of 4096 to the 8192 
value that Lucene uses.


-- 
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: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to