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 c16c367 No-op commit (closes #218, closes #221)
new b56aac2 BUG: Lucene.Net.Tests.Util.Fst.TestFSTs.TestPrimaryKeys():
Fixed sorting issue that was causing the test to fail with negative values.
new de629d8 SWEEP: Lucene.Net - Changed internal number to string and
string to number conversions to use invariant culture. Removed no-op
Convert.ToInt32 and Convert.ToInt64 methods.
new b3daddc BUG:
Lucene.Net.Tests.Util.TestVersionComparer::TestVersions(): Version number to
string must be done in the invariant culture (fixes LUCENENET-622)
new e715ea1 BUG: Lucene.Net.Tests.Search.TestSearchAfter.TestQueries():
Fixed number to string conversion so it will use the invariant culture (fixes
LUCENENET-621)
new e6fa612 Lucene.Net.Support.Threading.ThreadClass: Added IsDebug
property to change the Join methods in tests so they throw new exceptions to
preserve stack trace information.
new 0c28241 BUG: Lucene.Net.Tests.Index.TestIndexWriter: Pascal case
Random field name conflict with LuceneTestCase.Random causing null reference
exception
new 2d91fb5 Lucene.Net.Tests.Expressions.TestExpressionSorts: Fixed
number to string conversion to use invariant culture
new 2a1b6d1 BUG:
Lucene.Net.Benchmark.ByTask.Tasks.WriteLineDocTaskTest.TestMultiThreaded():
Added lock to synchronize file writes. Also refactored test to utilize the
ThreadClass error handling and added extra asserts for help future debugging
efforts.
new 444b86b SWEEP: Lucene.Net.Analysis.Common: Fixed culture sensitivity
issues converting numbers to strings and uppercasing/lowercasing
new f5652ed Lucene.Net.Analysis.Phonetic: Changed language algorithms to
use static constants for CultureInfo instead of creating them on the fly (for
performance)
new 2198258 SWEEP: Lucene.Net.Benchmark: Changed casing and number
conversion to use invariant culture
new 58fe6d2 Lucene.Net.Facet: Changed string to number conversion to use
invariant culture
new 096f266 SWEEP: Lucene.Net.Misc: Changed string to number conversion
to use invariant culture
new 87f8ab6 SWEEP: Lucene.Net.Suggest: Fixed culture-specific conversion
issues
new aeaf819 Added various TODOs, mostly about analyzing APIs to check
whether it makes sense to pass CultureInfo
new 2d50179 Lucene.Net.QueryParser.Classic.ParseException: Removed
unnecessary namespace
new 8b44368 Lucene.Net.Tests.Analysis.Common.Analysis.Synonym,
Lucene.Net.Tests.Grouping: Fixed some issues with string/number conversions
(set to invariant culture)
new ada4865 Lucene.Net.Spatial.Query.SpatialArgsParser: Fixed
number/string conversions to use invariant culture
new 2c8ad50 BUG: Lucene.Net.TestFramework.Support.CultureInfoSupport:
LoadSupportedCultures() wasn't using the passed-in culturePool
new 27b2c06 BUG: Lucene.Net.TestFramework.LuceneTestCase: Fixed edge case
where random culture and/or time zone is not available on macOS for random
pick, so just return a sensible default in those cases
new 0407907 Lucene.Net.TestFramework: Changed exception handling on
BeforeClass and AfterClass to throw the current stack trace in the error message
The 21 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:
.../Analysis/Cjk/CJKTokenizer.cs | 2 +-
.../Analysis/Cn/ChineseTokenizer.cs | 2 +-
.../Compound/Hyphenation/HyphenationTree.cs | 2 +-
.../Analysis/Compound/Hyphenation/TernaryTree.cs | 6 +-
.../Analysis/Hunspell/Dictionary.cs | 4 +-
.../Analysis/Miscellaneous/CapitalizationFilter.cs | 2 +-
.../Analysis/Miscellaneous/PatternAnalyzer.cs | 4 +-
.../Miscellaneous/TruncateTokenFilterFactory.cs | 6 +-
.../Analysis/Pt/RSLPStemmerBase.cs | 13 +-
.../Analysis/Util/AbstractAnalysisFactory.cs | 4 +-
.../Language/Caverphone2.cs | 4 +-
.../Language/ColognePhonetic.cs | 4 +-
.../Language/DoubleMetaphone.cs | 4 +-
.../Language/MatchRatingApproachEncoder.cs | 4 +-
.../Language/Metaphone.cs | 6 +-
.../Language/SoundexUtils.cs | 6 +-
.../Egothor.Stemmer/DiffIt.cs | 3 +-
src/Lucene.Net.Benchmark/ByTask/Feeds/DocMaker.cs | 2 +-
.../ByTask/Feeds/EnwikiContentSource.cs | 2 +-
.../ByTask/Feeds/GeonamesLineParser.cs | 3 +-
.../ByTask/Tasks/WriteLineDocTask.cs | 18 ++-
.../Support/TagSoup/HTMLScanner.cs | 3 +-
src/Lucene.Net.Benchmark/Support/TagSoup/Parser.cs | 2 +-
src/Lucene.Net.Benchmark/Support/TagSoup/Schema.cs | 4 +-
src/Lucene.Net.Facet/FacetResult.cs | 1 -
.../Taxonomy/Directory/DirectoryTaxonomyReader.cs | 3 +-
.../PostingsHighlight/PassageFormatter.cs | 2 +-
.../Index/MultiPassIndexSplitter.cs | 3 +-
src/Lucene.Net.Misc/Misc/HighFreqTerms.cs | 9 +-
.../Util/Fst/UpToTwoPositiveIntOutputs.cs | 4 +-
.../Function/DocValues/DoubleDocValues.cs | 4 +-
.../Function/DocValues/FloatDocValues.cs | 2 +-
.../Function/DocValues/IntDocValues.cs | 4 +-
.../Function/DocValues/LongDocValues.cs | 4 +-
src/Lucene.Net.Queries/Function/FunctionValues.cs | 4 +-
.../Function/ValueSources/ByteFieldSource.cs | 2 +-
.../Function/ValueSources/DocFreqValueSource.cs | 4 +-
.../ValueSources/DoubleConstValueSource.cs | 2 +-
.../Function/ValueSources/EnumFieldSource.cs | 20 +--
.../Function/ValueSources/IntFieldSource.cs | 2 +-
.../Function/ValueSources/LinearFloatFunction.cs | 2 +-
.../Function/ValueSources/LongFieldSource.cs | 6 +-
.../ValueSources/ReciprocalFloatFunction.cs | 4 +-
.../Function/ValueSources/ScaleFloatFunction.cs | 2 +-
.../Function/ValueSources/ShortFieldSource.cs | 2 +-
.../Classic/ParseException.cs | 2 +-
.../Classic/QueryParserBase.cs | 2 +-
.../Processors/NumericQueryNodeProcessor.cs | 8 +-
.../Processors/NumericRangeQueryNodeProcessor.cs | 8 +-
.../Simple/SimpleQueryParser.cs | 2 +-
.../Prefix/Tree/SpatialPrefixTreeFactory.cs | 4 +-
src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs | 9 +-
src/Lucene.Net.Suggest/Spell/DirectSpellChecker.cs | 23 ++-
.../Suggest/Analyzing/AnalyzingSuggester.cs | 4 +-
.../Suggest/Fst/FSTCompletionLookup.cs | 2 +-
.../Suggest/Fst/WFSTCompletionLookup.cs | 2 +-
.../Suggest/Jaspell/JaspellLookup.cs | 4 +-
.../Suggest/Jaspell/JaspellTernarySearchTrie.cs | 4 +-
src/Lucene.Net.Suggest/Suggest/Tst/TSTLookup.cs | 4 +-
.../Index/BaseTermVectorsFormatTestCase.cs | 2 +-
.../Support/CultureInfoSupport.cs | 8 +-
.../Util/LuceneTestCase.cs | 30 ++--
.../Analysis/Synonym/TestSlowSynonymFilter.cs | 7 +-
.../Analysis/Synonym/TestSynonymMapFilter.cs | 7 +-
.../ByTask/Tasks/WriteLineDocTaskTest.cs | 36 ++---
.../TestExpressionSorts.cs | 7 +-
src/Lucene.Net.Tests.Grouping/TestGrouping.cs | 5 +-
src/Lucene.Net.Tests/Index/TestIndexWriter.cs | 157 +++++++++++----------
src/Lucene.Net.Tests/Search/TestSearchAfter.cs | 5 +-
src/Lucene.Net.Tests/Util/Fst/TestFSTs.cs | 8 +-
src/Lucene.Net.Tests/Util/TestVersionComparator.cs | 3 +-
src/Lucene.Net/Document/DateTools.cs | 71 +++++-----
src/Lucene.Net/Index/BufferedUpdates.cs | 6 +-
src/Lucene.Net/Index/CheckIndex.cs | 8 +-
.../Index/DocumentsWriterFlushControl.cs | 6 +-
src/Lucene.Net/Index/FieldInfos.cs | 4 +-
src/Lucene.Net/Index/IndexCommit.cs | 2 +-
.../Index/NumericDocValuesFieldUpdates.cs | 2 +-
.../Index/PersistentSnapshotDeletionPolicy.cs | 3 +-
src/Lucene.Net/Index/SegmentInfos.cs | 2 +-
src/Lucene.Net/Index/StandardDirectoryReader.cs | 2 +-
src/Lucene.Net/Search/FieldComparator.cs | 4 +-
src/Lucene.Net/Search/MultiPhraseQuery.cs | 2 +-
src/Lucene.Net/Search/NumericRangeQuery.cs | 17 +--
src/Lucene.Net/Search/PhraseQuery.cs | 2 +-
src/Lucene.Net/Store/FSDirectory.cs | 3 +-
src/Lucene.Net/Store/LockStressTest.cs | 9 +-
src/Lucene.Net/Store/LockVerifyServer.cs | 2 +-
src/Lucene.Net/Store/RAMDirectory.cs | 3 +-
src/Lucene.Net/Support/AssemblyUtils.cs | 3 +-
src/Lucene.Net/Support/AtomicInteger.cs | 15 ++
src/Lucene.Net/Support/AtomicLong.cs | 15 ++
src/Lucene.Net/Support/Character.cs | 18 +++
src/Lucene.Net/Support/StringBuilderExtensions.cs | 2 +-
src/Lucene.Net/Support/Threading/ThreadClass.cs | 36 ++++-
src/Lucene.Net/Util/Automaton/BasicAutomata.cs | 5 +-
src/Lucene.Net/Util/Automaton/RegExp.cs | 13 +-
src/Lucene.Net/Util/Automaton/Transition.cs | 3 +-
src/Lucene.Net/Util/Fst/PositiveIntOutputs.cs | 2 +-
src/Lucene.Net/Util/Fst/Util.cs | 3 +-
src/Lucene.Net/Util/RamUsageEstimator.cs | 2 +-
101 files changed, 475 insertions(+), 339 deletions(-)