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 dd7ed62  BUG: 
Lucene.Net.Tests.Suggest.Suggest.Analyzing.TestFreeTextSuggester::TestRandom(): 
LookupResult calculation in the test was using different order of parentheses 
than the production code. This bug existed in Java, but apparently the order 
makes no difference on that platform. This test was getting a false positive 
because it was using List<T>.ToString() to make the result comparison, which 
J2N's List<T> corrects.
     new b02fb28  BUG: 
Lucene.Net.Search.TestBooleanQuery::TestBS2DisjunctionNextVsAdvance(): Use 
Assert.AreEqual instead of Asssert.IsTrue with == to fix floating point 
comparison on x86 .NET Framework with optimizations enabled.
     new 8e5ecaf  BUG: Lucene.Net.Search.FuzzyTermsEnum: Compare using 
Lucene.Net.Util.NumericUtils.SingleToSortableInt32() to prevent test failures 
on x86 .NET Framework. This fixes 
Lucene.Net.Search.TestBooleanQuery.TestBS2DisjunctionNextVsAdvance(), 
Lucene.Net.Search.TestFuzzyQuery.TestTieBreaker(), and 
Lucene.Net.Sandbox.Queries.TestSlowFuzzyQuery.TestTieBreaker(). See #269.
     new 266afb3  BUG: Lucene.Net.Search.TopScoreDocCollector: Compare using 
Lucene.Net.Util.NumericUtils.SingleToSortableInt32() to prevent test failures 
on x86 .NET Framework. This fixes 
Lucene.Net.Search.TestTopDocsMerge::TestSort_1(), 
Lucene.Net.Search.TestTopDocsMerge::TestSort_2(), and 
Lucene.Net.Search.TestSearchAfter.TestQueries(). See #269.
     new f6c668d  BUG: Lucene.Net.Sandbox.Queries.SlowFuzzyTermsEnum::Accept(): 
Compare using Lucene.Net.Util.NumericUtils.SingleToSortableInt32() to prevent 
test failures on x86 .NET Framework. This fixes 
Lucene.Net.Sandbox.Queries.TestSlowFuzzyQuery.TestTokenLengthOpt(). See #269.
     new 96403bc  Lucene.Net.Sandbox.Queries.FuzzyLikeThisQuery: Compare using 
NumericUtils.SingleToSortableInt32() to prevent test failures on x86 .NET 
Framework. See #269.
     new cb4bc0c  SWEEP: Lucene.Net: Use NumericUtils.SingleToSortableInt32() 
to compare floating point numbers (except in cases where we are testing for 
whole numbers).
     new bfa4c68  BUG: Lucene.Net.Expressions.ScoreFunctionValues::DoubleVal(): 
Assigning float to double loses precision in x86 .NET Framework. Do an 
intermediate cast to decimal to fix 
Lucene.Net.Expressions.TestExpressionSorts::TestQueries(). See #269.
     new d89d02a  Lucene.Net.Expressions.ExpressionComparer: Use 
J2N.Collections.Generic.Comparer<double> to ensure we use the same comparison 
logic as in Java.
     new 6632a68  azure-pipelines.yml: Decreased maximum allowed failures to 2 
on all test jobs

The 9 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:
 azure-pipelines.yml                                | 40 ++++++++++----------
 src/Lucene.Net.Expressions/ExpressionComparator.cs | 10 +++--
 src/Lucene.Net.Expressions/ScoreFunctionValues.cs  |  6 +++
 .../Queries/FuzzyLikeThisQuery.cs                  |  9 ++---
 .../Queries/SlowFuzzyTermsEnum.cs                  |  6 +--
 .../TestExpressionSorts.cs                         |  3 --
 .../Queries/TestSlowFuzzyQuery.cs                  |  3 --
 src/Lucene.Net.Tests/Search/TestBooleanQuery.cs    |  7 ++--
 src/Lucene.Net.Tests/Search/TestFuzzyQuery.cs      |  3 --
 src/Lucene.Net/Search/BooleanQuery.cs              |  4 +-
 src/Lucene.Net/Search/DisjunctionMaxQuery.cs       |  5 ++-
 src/Lucene.Net/Search/FieldCache.cs                |  3 +-
 src/Lucene.Net/Search/FuzzyTermsEnum.cs            | 14 ++++---
 src/Lucene.Net/Search/HitQueue.cs                  |  7 ++--
 src/Lucene.Net/Search/IndexSearcher.cs             |  4 +-
 src/Lucene.Net/Search/MatchAllDocsQuery.cs         |  4 +-
 src/Lucene.Net/Search/MultiPhraseQuery.cs          |  8 ++--
 src/Lucene.Net/Search/PhraseQuery.cs               |  4 +-
 src/Lucene.Net/Search/QueryRescorer.cs             |  8 ++--
 src/Lucene.Net/Search/ScoringRewrite.cs            |  6 ++-
 .../Search/Spans/FieldMaskingSpanQuery.cs          |  6 ++-
 src/Lucene.Net/Search/Spans/SpanFirstQuery.cs      |  6 ++-
 .../Search/Spans/SpanNearPayloadCheckQuery.cs      |  8 ++--
 src/Lucene.Net/Search/Spans/SpanNearQuery.cs       |  4 +-
 src/Lucene.Net/Search/Spans/SpanOrQuery.cs         |  4 +-
 .../Search/Spans/SpanPayloadCheckQuery.cs          |  8 ++--
 .../Search/Spans/SpanPositionRangeQuery.cs         |  6 ++-
 src/Lucene.Net/Search/TermQuery.cs                 |  5 ++-
 src/Lucene.Net/Search/TopDocs.cs                   |  6 ++-
 src/Lucene.Net/Search/TopFieldCollector.cs         | 15 +++++---
 src/Lucene.Net/Search/TopScoreDocCollector.cs      | 43 +++++++++++-----------
 src/Lucene.Net/Search/TopTermsRewrite.cs           | 15 +++++---
 src/Lucene.Net/Util/Mutable/MutableValueDouble.cs  |  4 +-
 src/Lucene.Net/Util/Mutable/MutableValueFloat.cs   |  6 ++-
 src/Lucene.Net/Util/Packed/PackedInts.cs           |  3 +-
 35 files changed, 175 insertions(+), 118 deletions(-)

Reply via email to