[ 
https://issues.apache.org/jira/browse/LUCENE-10157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472274#comment-17472274
 ] 

Cameron VandenBerg commented on LUCENE-10157:
---------------------------------------------

Hi [~jpountz],  I have updated PR LUCENE-10157 to include more tests for the 
Indri functionality in TestIndriAndQuery and TestIndriOrQuery.

 

The tricky part about Indri scoring is that it places the boost differently 
than lucene does, and I need access to the boost in the scorer rather than the 
similarity to calculate the score properly for the different Indri operators.  
You can see how Indri calculates its' scores here: 
[https://sourceforge.net/p/lemur/wiki/Belief%20Operations/.|https://sourceforge.net/p/lemur/wiki/Belief%20Operations/]
  I have decided to simplify the Indri functionality in lucene to only include 
the IndriAND and the IndriOr so that I can stick to the existing lucene API of 
using the boost in the similarity.  

 

Let me know what you think of the functionality and the tests.  I have learned 
a lot more about the lucene testing framework in the past week, and I would be 
happy to include more.  Let me know if you have any more questions or concerns.

 

Thank you,

Cameron VandenBerg

> Add Additional Indri Search Engine Functionality to Lucene
> ----------------------------------------------------------
>
>                 Key: LUCENE-10157
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10157
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: core/queryparser, core/search
>            Reporter: Cameron VandenBerg
>            Priority: Major
>         Attachments: LUCENE-10157.patch
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> In Jira issue LUCENE-9537, basic functionality from the Indri search engine 
> ([http://lemurproject.org/indri.php]) was added to Lucene.  With that 
> functionality in place, we would love to build upon that to add additional 
> Indri queries and an Indri query parser to Lucene to broaden the Indri 
> functionality within Lucene.  In this patch, I have added the Indri NOT, the 
> INDRI OR, and the Indri WeightedSum functionality.  I have also included an 
> IndriQueryParser for accessing this functionality.  More information on these 
> query operators can be seen here: 
> [https://sourceforge.net/p/lemur/wiki/Belief%20Operations/] and here: 
> [https://sourceforge.net/p/lemur/wiki/Indri%20Query%20Language%20Reference/.|https://sourceforge.net/p/lemur/wiki/Indri%20Query%20Language%20Reference/]
>  
> I would be very excited to work with the Lucene community again to try to add 
> this functionality.  I am open to suggestions, and I am happy to make any 
> changes that might be suggested.  Thank you!



--
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

Reply via email to