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

Adrien Grand commented on LUCENE-10157:
---------------------------------------

I understand you don't like this option much but I would still like to move 
this feature to the sandbox, or at least a different module from core, e.g. we 
could create lucene/indri.

smoothingScore() is currently on Scorable but it looks like we only need it on 
Scorers, ie. collectors do not need to have access to it. If that is right, 
then we could create an IndriQuery base class under lucene/sandbox that returns 
a scorer that supports smoothingScore(), fork TermScorer into an 
IndriTermScorer, and then IndriAnd and IndriOr could be specialized to only 
accept instances of IndriQuery as opposed to Query.

> 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