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 33faa93  Lucene.Net.Configuration: Removed ConfigurationBuilder, 
ConfigurationProvider, and LuceneDefaultConfigurationSource. Renamed 
LuceneDefaultConfigurationProvider > EnvironmentVariablesConfigurationProvider 
to match .NET. (fixes #311)
     new cbba108  PERFORMANCE: Lucene.Net.TestFramework: Reverted testing 
conditions from 2200e79938ac6de7d002fe3ab8944d3c3cdeb211 in TestUtil and 
BaseTermVectorsFormatTestCase back to their original values. Also discovered 
TestUtil.AssertAttributeReflection() was unnecessarily copying the collection 
that was passed to it and reverted that change.
     new 04c9d1c  PERFORMANCE: Lucene.Net.TestFramework: Refactored Assert 
class to test for additional conditions locally, since NUnit is extremely slow 
when calling some methods in a tight loop. Eliminated object overloads and 
changed to generic to enforce comparing similar types by default unless opting 
in by specifying object as the generic type.
     new fc9d181  PERFORMANCE: Lucene.Net.Util.Automaton: Replaced 
LinkedList<T> with Queue<T> in areas where copy constructors were not in use
     new 626ab82  BREAKING: Lucene.Net.Analysis.Common.Analysis.Compound: 
Changed protected m_tokens field from LinkedList to Queue for better throughput
     new dcf7e22  TestWordDelimiterFactory: Converted to use inline anonymous 
analyzer syntax instead of explicit class definitions
     new 4137c68  Lucene.Net.Analysis.Phonetic.DoubleMetaphoneFilter: Changed 
LinkedList to Queue for better throughput
     new ad5507e  azure-pipelines.yml: Increased parallel jobs by one
     new d537d7a  Lucene.Net.Support.Collections: Reduced memory allocations of 
CaseInsensitiveComparer in ReverseOrder<T>() method
     new ed01315  Lucene.Net.Util.RamUsageEstimator: Switched back to 
System.Collections.Generic.Dictionary because indexer of JCG dictionary is 
slower
     new 1d4777c  Lucene.Net.TestFramework.Util.Fst.FSTTester: Use SCG 
Ditionary for better performance
     new d92cd95  Lucene.Net.Tests.Util: Added missing Assert imports (NUnit's 
asserts are too slow)
     new 4b59a10  Lucene.Net.Tests.Analysis.Common: Refactored 
ShingleFilterTest to use inline Analyzers instead of explicit classes
     new fa7c385  Lucene.Net.Facet: Optimized DirectoryTaxonomyReader by 
eliminating locking, removing unnecessary casts, and using LazyInitializer for 
the taxonomy array initialization
     new 8ff3022  PERFORMANCE: Lucene.Net.Index.IndexWriter: Replaced 
FlushTicket LinkedList with a Queue
     new 3a93fd1  PERFORMANCE: Lucene.Net.Index.DocumentsWriterFlushQueue: 
Replaced FlushTicket LinkedList with a Queue
     new 4eb2284  PERFORMANCE: Lucene.Net.Search.NumericRangeQuery: Changed 
rangeBounds from LinkedList to Queue
     new 65e0d39  PERFORMANCE: Lucene.Net.Analysis.CachingTokenFilter: Changed 
cache from LinkedList to List
     new 0c5702a  PERFORMANCE: Lucene.Net.Tests.Analysis.Common: Changed 
Hunspell StemmerTestBase to use more optimized assert to compare arrays
     new 751766e  Added using directives to import the Assert class from the 
test framework instead of using NUnit's slow one
     new 8d59033  PERFORMANCE: Lucene.Net.Analysis.Common: Changed the 
inputWindow in ShingleFilter to use a Queue instead of LinkedList
     new 332fd76  Lucene.Net.TestFramework: Fixed bug in message formatting of 
failed asserts
     new efdd98c  SWEEP: Consolidated empty array creation code
     new 992c009  Upgraded C# LangVersion to 8.0
     new 47599bc  Lucene.Net.Tests.Support.TestApiConsistency: Added support 
for filtering public fields via regex

The 24 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:
 Directory.Build.props                              |   4 +
 azure-pipelines.yml                                |  14 +-
 .../Compound/CompoundWordTokenFilterBase.cs        |   7 +-
 .../Compound/DictionaryCompoundWordTokenFilter.cs  |   4 +-
 .../Compound/HyphenationCompoundWordTokenFilter.cs |   6 +-
 .../Analysis/Hunspell/Dictionary.cs                |  10 +-
 .../Analysis/Query/QueryAutoStopWordAnalyzer.cs    |  12 +-
 .../Analysis/Shingle/ShingleFilter.cs              |  37 +--
 .../Tartarus/Snowball/Among.cs                     |   7 +-
 .../Tartarus/Snowball/SnowballProgram.cs           |   8 +-
 src/Lucene.Net.Analysis.Kuromoji/Util/CSVUtil.cs   |  13 +-
 .../DoubleMetaphoneFilter.cs                       |  13 +-
 src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs |  11 +-
 .../BlockTerms/TermsIndexWriterBase.cs             |  15 +-
 .../SimpleText/SimpleTextDocValuesReader.cs        |  13 +-
 src/Lucene.Net.Facet/FacetsConfig.cs               |  13 +-
 .../SortedSet/SortedSetDocValuesFacetCounts.cs     |  11 +-
 .../Taxonomy/Directory/DirectoryTaxonomyReader.cs  |  62 ++---
 src/Lucene.Net.Grouping/GroupingSearch.cs          |  21 +-
 src/Lucene.Net.Queries/CustomScoreQuery.cs         |  22 +-
 src/Lucene.Net.Queries/TermsFilter.cs              |  10 +-
 .../Suggest/Fst/FSTCompletionLookup.cs             |  11 +-
 .../Suggest/SortedInputIterator.cs                 |  11 +-
 .../Suggest/SortedTermFreqIteratorWrapper.cs       |  11 +-
 .../Support/TestFramework/Assert.cs                | 268 +++++++++++++++------
 .../Index/BaseDocValuesFormatTestCase.cs           |   4 +-
 .../Index/BaseIndexFileFormatTestCase.cs           |   9 -
 .../Index/BaseTermVectorsFormatTestCase.cs         |   2 +-
 .../Lucene.Net.TestFramework.csproj                |   1 +
 .../Support/ApiScanTestBase.cs                     |  22 +-
 .../Support/JavaCompatibility/LuceneTestCase.cs    |  28 ++-
 .../Util/Automaton/AutomatonTestUtil.cs            |  26 +-
 src/Lucene.Net.TestFramework/Util/Fst/FSTTester.cs |   4 +-
 src/Lucene.Net.TestFramework/Util/TestUtil.cs      |  33 ++-
 .../Analysis/Hunspell/StemmerTestBase.cs           |   5 +-
 .../Miscellaneous/TestWordDelimiterFilter.cs       | 211 +++-------------
 .../Analysis/Shingle/ShingleFilterTest.cs          |  54 +----
 .../Collation/TestCollationKeyFilterFactory.cs     |   1 +
 .../TestOpenNLPSentenceBreakIterator.cs            |   1 +
 .../Language/Bm/LanguageGuessingTest.cs            |   1 +
 .../Language/Caverphone1Test.cs                    |   1 +
 .../Language/Caverphone2Test .cs                   |   1 +
 .../Support/TestEnglishNumberFormatExtensions.cs   |   1 +
 .../ClassificationTestBase.cs                      |  35 ++-
 .../Utils/DataSplitterTest.cs                      |  36 +--
 .../JS/TestCustomFunctions.cs                      |   1 +
 .../JS/TestJavascriptCompiler.cs                   |   1 +
 .../JS/TestJavascriptFunction.cs                   |   1 +
 .../JS/TestJavascriptOperations.cs                 |   1 +
 .../TestDemoExpressions.cs                         |   1 +
 .../TestExpressionRescorer.cs                      |   1 +
 .../TestExpressionSortField.cs                     |   1 +
 .../TestExpressionValidation.cs                    |   1 +
 .../TestExpressionValueSource.cs                   |   7 +-
 .../Taxonomy/TestTaxonomyFacetCounts.cs            |   2 +-
 .../Taxonomy/TestTaxonomyFacetCounts2.cs           |  26 +-
 .../Taxonomy/TestTaxonomyFacetSumValueSource.cs    |   6 +-
 .../Taxonomy/WriterCache/TestCharBlockArray.cs     |   1 -
 src/Lucene.Net.Tests.Grouping/TestGrouping.cs      |   4 +-
 .../Surround/Query/BooleanQueryTst.cs              |   1 +
 .../SessionTokenTest.cs                            |   6 +-
 .../Codecs/TestCodecServices.cs                    |   1 +
 .../Configuration/TestConfigurationService.cs      |   1 +
 .../Custom/TestCustomConfigurationFactory.cs       |   1 +
 .../Configuration/TestConfigurationSettings.cs     |   1 +
 .../Configuration/TestSystemProperties.cs          |   1 +
 .../Store/TestMockDirectoryWrapper.cs              |   2 +-
 .../Support/TestApiConsistency.cs                  |   2 +-
 .../Analysis/TestGraphTokenizers.cs                |   1 +
 .../TokenAttributes/TestCharTermAttributeImpl.cs   |   4 +-
 .../Compressing/TestFastDecompressionMode.cs       |   1 +
 .../Codecs/Lucene3x/TestImpersonation.cs           |   1 +
 src/Lucene.Net.Tests/Index/Test2BTerms.cs          |   1 +
 .../Index/TestDocInverterPerFieldErrorInfo.cs      |   1 +
 .../Index/TestDocumentsWriterStallControl.cs       |   1 +
 .../Index/TestExceedMaxTermLength.cs               |   1 +
 .../Index/TestForTooMuchCloning.cs                 |   1 +
 .../Index/TestForceMergeForever.cs                 |   1 +
 src/Lucene.Net.Tests/Index/TestIndexFileDeleter.cs |   1 +
 .../Index/TestIndexWriterForceMerge.cs             |   1 +
 .../Index/TestIndexWriterNRTIsCurrent.cs           |   1 +
 .../Index/TestIndexWriterOutOfFileDescriptors.cs   |   1 +
 src/Lucene.Net.Tests/Index/TestNeverDelete.cs      |   1 +
 src/Lucene.Net.Tests/Index/TestNoMergePolicy.cs    |   1 +
 src/Lucene.Net.Tests/Index/TestNoMergeScheduler.cs |   1 +
 src/Lucene.Net.Tests/Index/TestReaderClosed.cs     |   1 +
 src/Lucene.Net.Tests/Index/TestStressIndexing.cs   |   1 +
 src/Lucene.Net.Tests/Index/TestTransactions.cs     |   1 +
 .../Index/TestTwoPhaseCommitTool.cs                |   1 +
 src/Lucene.Net.Tests/Search/MultiCollectorTest.cs  |   1 +
 .../Search/Payloads/TestPayloadTermQuery.cs        |   1 +
 .../Search/TestControlledRealTimeReopenThread.cs   |   1 +
 src/Lucene.Net.Tests/Search/TestDocBoost.cs        |   1 +
 .../Search/TestEarlyTermination.cs                 |   1 +
 .../Search/TestPositionIncrement.cs                |   1 +
 .../Search/TestSearchWithThreads.cs                |   1 +
 .../Search/TestSimilarityProvider.cs               |   1 +
 src/Lucene.Net.Tests/Search/TestTermScorer.cs      |   1 +
 src/Lucene.Net.Tests/Store/TestFilterDirectory.cs  |   1 +
 .../Store/TestMockDirectoryWrapper.cs              |   1 +
 src/Lucene.Net.Tests/Store/TestRateLimiter.cs      |   1 +
 src/Lucene.Net.Tests/Support/TestApiConsistency.cs |   4 +-
 .../Support/TestEnumerableExtensions.cs            |   1 +
 src/Lucene.Net.Tests/Support/TestIDisposable.cs    |   1 +
 src/Lucene.Net.Tests/TestMergeSchedulerExternal.cs |   1 +
 .../Util/Automaton/TestBasicOperations.cs          |   1 +
 .../Util/Automaton/TestCompiledAutomaton.cs        |   1 +
 .../Util/Automaton/TestDeterminism.cs              |   2 +-
 .../Util/Automaton/TestDeterminizeLexicon.cs       |   1 +
 .../Util/Automaton/TestLevenshteinAutomata.cs      |   1 +
 .../Util/Automaton/TestMinimize.cs                 |   1 +
 .../Util/Automaton/TestSpecialOperations.cs        |   2 +-
 .../Util/Automaton/TestUTF32ToUTF8.cs              |   1 +
 src/Lucene.Net.Tests/Util/Fst/Test2BFST.cs         |   1 +
 src/Lucene.Net.Tests/Util/Fst/TestFSTs.cs          |   2 +-
 src/Lucene.Net.Tests/Util/Packed/TestPackedInts.cs |   2 +-
 .../Util/StressRamUsageEstimator.cs                |   1 +
 src/Lucene.Net.Tests/Util/Test2BPagedBytes.cs      |   1 +
 src/Lucene.Net.Tests/Util/TestArrayUtil.cs         |   7 +-
 src/Lucene.Net.Tests/Util/TestBytesRef.cs          |   2 +-
 .../Util/TestCloseableThreadLocal.cs               |   1 +
 src/Lucene.Net.Tests/Util/TestCollectionUtil.cs    |   1 +
 src/Lucene.Net.Tests/Util/TestConstants.cs         |   1 +
 src/Lucene.Net.Tests/Util/TestDocIdBitSet.cs       |   1 +
 .../Util/TestDoubleBarrelLRUCache.cs               |   1 +
 src/Lucene.Net.Tests/Util/TestIOUtils.cs           |   1 +
 .../Util/TestInPlaceMergeSorter.cs                 |   2 +
 src/Lucene.Net.Tests/Util/TestIntroSorter.cs       |   2 +
 src/Lucene.Net.Tests/Util/TestNamedSPILoader.cs    |   1 +
 src/Lucene.Net.Tests/Util/TestNumericUtils.cs      |   1 -
 src/Lucene.Net.Tests/Util/TestRamUsageEstimator.cs |   1 +
 .../Util/TestRamUsageEstimatorOnWildAnimals.cs     |   1 +
 src/Lucene.Net.Tests/Util/TestVersionComparator.cs |   1 +
 src/Lucene.Net.Tests/Util/TestWeakIdentityMap.cs   |   1 +
 src/Lucene.Net/Analysis/CachingTokenFilter.cs      |   6 +-
 src/Lucene.Net/Codecs/BlockTreeTermsReader.cs      |   8 +-
 src/Lucene.Net/Codecs/PostingsFormat.cs            |   8 +-
 src/Lucene.Net/Document/Document.cs                |   8 +-
 src/Lucene.Net/Index/DocumentsWriterFlushQueue.cs  |  11 +-
 src/Lucene.Net/Index/Fields.cs                     |   8 +-
 src/Lucene.Net/Index/IndexFileDeleter.cs           |  10 +-
 src/Lucene.Net/Index/IndexWriter.cs                |   7 +-
 src/Lucene.Net/Index/MultiTermsEnum.cs             |   7 +-
 src/Lucene.Net/Index/ParallelCompositeReader.cs    |  11 +-
 src/Lucene.Net/Index/ReaderSlice.cs                |   9 +-
 src/Lucene.Net/Index/Terms.cs                      |   8 +-
 src/Lucene.Net/Search/CachingCollector.cs          |   8 +-
 src/Lucene.Net/Search/FieldComparator.cs           |  17 +-
 src/Lucene.Net/Search/NumericRangeQuery.cs         |  18 +-
 src/Lucene.Net/Search/TopDocs.cs                   |  10 +-
 src/Lucene.Net/Search/TopFieldCollector.cs         |   8 +-
 src/Lucene.Net/Search/TopScoreDocCollector.cs      |  13 +-
 src/Lucene.Net/Support/Arrays.cs                   |  24 ++
 src/Lucene.Net/Support/Collections.cs              |   2 +-
 src/Lucene.Net/Util/Automaton/Automaton.cs         |  31 ++-
 src/Lucene.Net/Util/Automaton/BasicOperations.cs   |  35 ++-
 .../Util/Automaton/DaciukMihovAutomatonBuilder.cs  |  15 +-
 .../Util/Automaton/MinimizationOperations.cs       |  27 ++-
 src/Lucene.Net/Util/Automaton/State.cs             |  12 +-
 src/Lucene.Net/Util/Bits.cs                        |   9 +-
 src/Lucene.Net/Util/BytesRef.cs                    |   8 +-
 src/Lucene.Net/Util/CharsRef.cs                    |   9 +-
 src/Lucene.Net/Util/FieldCacheSanityChecker.cs     |  10 +-
 src/Lucene.Net/Util/Fst/FST.cs                     |   8 +-
 src/Lucene.Net/Util/IntsRef.cs                     |   7 +-
 src/Lucene.Net/Util/LongsRef.cs                    |   7 +-
 src/Lucene.Net/Util/PagedBytes.cs                  |   8 +-
 src/Lucene.Net/Util/RamUsageEstimator.cs           |  36 +--
 src/Lucene.Net/Util/WAH8DocIdSet.cs                |  13 +-
 .../Commands/CommandTestCase.cs                    |   3 +-
 .../Commands/Index/IndexUpgradeCommandTest.cs      |   1 +
 .../Configuration/TestConfigurationSettings.cs     |   1 +
 .../SourceCode/SourceCodeParserTest.cs             |   1 +
 173 files changed, 730 insertions(+), 957 deletions(-)

Reply via email to