apache / apache/lucene

Remove BoostedQuery [LUCENE-7722]

Open
#8,773 9 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Minor type:task
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

We already have FunctionScoreQuery, which is more flexible than BoostedQuery as it can combine scores in arbitrary ways and only requests scores on the underlying scorer if they are needed. So let's remove BoostedQuery?

---
Migrated from [LUCENE-7722](https://issues.apache.org/jira/browse/LUCENE-7722) by Adrien Grand (@jpountz), updated Dec 18 2017

Contributor guide

Open the contributing guide

Research direction

Start by locating BoostedQuery and its tests or references, then compare them with FunctionScoreQuery. Remove the obsolete query and update affected references and tests; done means the project no longer depends on BoostedQuery and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.