This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


    from dfbb22218 Align InputStreamDataInput and OutputStreamDataOutput closer 
to the Java Source (#769)
     new 0eab1fd04 Lucene.Net.Support.IO: Added FileStreamOptions class similar 
to the one in .NET 6 to easily pass as a method parameter.
     new 89c6a5d5c Lucene.Net.Support.IO.FileSupport: Added 
CreateTempFileAsStream() method overloads to return an open stream for the file 
so we don't have to rely on the operating system to close the file handle 
before we attempt to reopen it.
     new 34add98c2  BREAKING: Lucene.Net.Util.OfflineSorter: Refactored to base 
file tracking on FileStream rather than FileInfo, which gives us better control 
over temp file deletion by specifying the FileOptions.DeleteOnClose option. We 
also use random access so we don't need to reopen streams over files except in 
the case of ExternalRefSorter.
     new 0debb1c4d Lucene.Net.Util.OfflineSorter: Added back original tests 
using FileInfo and fixed bugs that were preventing the original behavior
     new 019a25727 Lucene.Net.Support.IO (BinaryReaderDataInput + 
BinaryReaderDataOutput): Deleted, as they are no longer in use.

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .rat-excludes                                      |   3 +-
 .../Analysis/Hunspell/Dictionary.cs                |  61 ++--
 .../Suggest/Analyzing/AnalyzingSuggester.cs        |  20 +-
 .../Suggest/Analyzing/FreeTextSuggester.cs         |   4 +-
 .../Suggest/Fst/ExternalRefSorter.cs               |  41 +--
 .../Suggest/Fst/FSTCompletionLookup.cs             |  13 +-
 .../Suggest/SortedInputIterator.cs                 |  26 +-
 .../Suggest/SortedTermFreqIteratorWrapper.cs       |  24 +-
 .../Analysis/Hunspell/Test64kAffixes.cs            |   4 +-
 .../Support/TestApiConsistency.cs                  |   2 +-
 src/Lucene.Net.Tests/Support/IO/TestFileSupport.cs |  12 +
 src/Lucene.Net.Tests/Support/TestApiConsistency.cs |   2 +-
 src/Lucene.Net.Tests/Util/TestOfflineSorter.cs     | 111 ++++++-
 src/Lucene.Net/Support/IO/BinaryReaderDataInput.cs |  50 ----
 .../Support/IO/BinaryWriterDataOutput.cs           |  47 ---
 src/Lucene.Net/Support/IO/FileStreamOptions.cs     | 121 ++++++++
 src/Lucene.Net/Support/IO/FileSupport.cs           | 320 +++++++++++++++++++--
 src/Lucene.Net/Util/OfflineSorter.cs               | 314 +++++++++++---------
 18 files changed, 806 insertions(+), 369 deletions(-)
 delete mode 100644 src/Lucene.Net/Support/IO/BinaryReaderDataInput.cs
 delete mode 100644 src/Lucene.Net/Support/IO/BinaryWriterDataOutput.cs
 create mode 100644 src/Lucene.Net/Support/IO/FileStreamOptions.cs

Reply via email to