Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for .NET Framework x86 Support #529

Merged
merged 9 commits into from
Oct 23, 2021

Commits on Oct 22, 2021

  1. BUG: Lucene.Net.Search.TestBooleanQuery::TestBS2DisjunctionNextVsAdva…

    …nce(): Use Assert.AreEqual instead of Asssert.IsTrue with == to fix floating point comparison on x86 .NET Framework with optimizations enabled.
    NightOwl888 committed Oct 22, 2021
    Configuration menu
    Copy the full SHA
    d1dbbeb View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2021

  1. 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 apache#269.
    NightOwl888 committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    febad04 View commit details
    Browse the repository at this point in the history
  2. 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 apache#269.
    NightOwl888 committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    0b41e5f View commit details
    Browse the repository at this point in the history
  3. 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 apache#269.
    NightOwl888 committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    3db8ede View commit details
    Browse the repository at this point in the history
  4. Lucene.Net.Sandbox.Queries.FuzzyLikeThisQuery: Compare using NumericU…

    …tils.SingleToSortableInt32() to prevent test failures on x86 .NET Framework. See apache#269.
    NightOwl888 committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c83dbd2 View commit details
    Browse the repository at this point in the history
  5. SWEEP: Lucene.Net: Use NumericUtils.SingleToSortableInt32() to compar…

    …e floating point numbers (except in cases where we are testing for whole numbers).
    NightOwl888 committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    677e8eb View commit details
    Browse the repository at this point in the history
  6. BUG: Lucene.Net.Expressions.ScoreFunctionValues::DoubleVal(): Assigni…

    …ng float to double loses precision in x86 .NET Framework. Do an intermediate cast to decimal to fix Lucene.Net.Expressions.TestExpressionSorts::TestQueries(). See apache#269.
    NightOwl888 committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    1fec552 View commit details
    Browse the repository at this point in the history
  7. Lucene.Net.Expressions.ExpressionComparer: Use J2N.Collections.Generi…

    …c.Comparer<double> to ensure we use the same comparison logic as in Java.
    NightOwl888 committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    f7ee7f5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1685178 View commit details
    Browse the repository at this point in the history