[ https://issues.apache.org/jira/browse/LUCENE-9537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17468942#comment-17468942 ]
Cameron VandenBerg commented on LUCENE-9537: -------------------------------------------- Hello [~jpountz]! Thank you for finding this. I have fixed this issue in my latest PR (LUCENE-10157), which I just updated tonight. My original thought was that I needed the IndriScorer because I wanted to use the boosts outside of the Similarity just like we do in our Indri Search Engine. However, I now feel that it makes more sense for the Indri scoring to use boosts in the same way that lucene does (inside the Similarity), which allows me to remove the `if (scorer instanceof IndriScorer)` logic from the IndriScorers. I have added tests and found that this works as expected now. I have also added the IndriOr and the IndriWeightedSum scorers as well as an IndriQueryParser to this new PR. Thank you! > Add Indri Search Engine Functionality to Lucene > ----------------------------------------------- > > Key: LUCENE-9537 > URL: https://issues.apache.org/jira/browse/LUCENE-9537 > Project: Lucene - Core > Issue Type: Improvement > Components: core/search > Reporter: Cameron VandenBerg > Priority: Major > Labels: patch > Fix For: 8.9 > > Attachments: LUCENE-9537.patch, LUCENE-INDRI.patch > > Time Spent: 4h 40m > Remaining Estimate: 0h > > Indri ([http://lemurproject.org/indri.php]) is an academic search engine > developed by The University of Massachusetts and Carnegie Mellon University. > The major difference between Lucene and Indri is that Indri will give a > document a "smoothing score" to a document that does not contain the search > term, which has improved the search ranking accuracy in our experiments. I > have created an Indri patch, which adds the search code needed to implement > the Indri AND logic as well as Indri's implementation of Dirichlet Smoothing. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org