Giter VIP home page Giter VIP logo

Comments (5)

mikemccand avatar mikemccand commented on June 12, 2024

Here is a patch that reduces usage of tolerance. CheckHits now enforces that scores and explanations have exactly the same value.

There is still some leniency in explanations that ends with "sum of" due to how ReqOptSumScorer casts some intermediate contributions to a float before summing them up again. For instance if the query is +A +B C D, the score will be computed as (float) ((double) scoreA + scoreB) + (float) ((double) scoreC + scoreD). This doesn't look easy to fix without making things more complex.

[Legacy Jira: Adrien Grand (@jpountz) on Nov 29 2017]

from stargazers-migration-test.

mikemccand avatar mikemccand commented on June 12, 2024

+1, thank you for looking into this!

[Legacy Jira: Robert Muir (@rmuir) on Nov 29 2017]

from stargazers-migration-test.

mikemccand avatar mikemccand commented on June 12, 2024

Commit d27ddcb409ddf5d388734db2428ac60edc22180a in lucene-solr's branch refs/heads/master from @jpountz
https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d27ddcb

LUCENE-8008: Reduce leniency in CheckHits.

[Legacy Jira: ASF subversion and git services on Nov 29 2017]

from stargazers-migration-test.

mikemccand avatar mikemccand commented on June 12, 2024

Commit 3048e5da2299809292c765cba234a2f254524767 in lucene-solr's branch refs/heads/master from @jpountz
https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3048e5d

LUCENE-8008: Remove unintended changes.

[Legacy Jira: ASF subversion and git services on Mar 20 2018]

from stargazers-migration-test.

mikemccand avatar mikemccand commented on June 12, 2024

Sorry I noticed this morning that I inadvertently pushed unrelated changes in the above commit. I just reverted. Fortunately, they didn't make it to any release.

[Legacy Jira: Adrien Grand (@jpountz) on Mar 20 2018]

from stargazers-migration-test.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.