[
https://issues.apache.org/jira/browse/LUCENE-10157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472952#comment-17472952
]
Cameron VandenBerg commented on LUCENE-10157:
---------------------------------------------
I like your idea of forking the TermScorer to create the IndriTermScorer and
specializing the IndriAnd and IndriOr operators. I actually had it this way in
the original patch that I had posted. The tricky part was that to create an
IndriTermScorer, I also needed to create an IndriTermQuery and IndriTermWeight
so that I could instantiate the IndriTermScorer, but TermWeight was final in
lucene so I could not extend this class. I wanted all other functionality in
TermWeight except creating a different scorer (the IndriTermScorer). Is there
a good way to do this other than reimplementing TermQuery and TermWeight? I
worried about reimplementing these classes because I don't want IndriTermQuery
and IndriTermWeight to differ from the lucene implementations of TermQuery and
TermWeight if updates are made to those classes.
> 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: [email protected]
For additional commands, e-mail: [email protected]