apache / apache/lucene

Add Additional Indri Search Engine Functionality to Lucene [LUCENE-10157]

Open
#11,194 14 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major module:core/queryparser module:core/search type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

In Jira issue #10577, basic functionality from the Indri search engine () 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:  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!

---
Migrated from [LUCENE-10157](https://issues.apache.org/jira/browse/LUCENE-10157) by Cameron VandenBerg, updated Feb 14 2022
Attachments: [LUCENE-10157.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-10157/LUCENE-10157.patch)
Linked issues:
- #10577

Pull requests: https://github.com/apache/lucene/pull/463

Contributor guide

Open the contributing guide

Research direction

Start by reviewing linked issue #10577, the attached LUCENE-10157.patch, and pull request #463, then compare the requested Indri NOT, INDRI OR, WeightedSum, and IndriQueryParser functionality with Lucene’s current state. Done means the proposed additional Indri functionality is resolved in the Lucene codebase and the community’s requested changes are addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.