apache / apache/lucene

Support different values of b per field in BM25FQuery [LUCENE-8710]

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

Description

Currently BM25FQuery only supports the simple variant of BM25F, can we also support having different values of b per field?

---
Migrated from [LUCENE-8710](https://issues.apache.org/jira/browse/LUCENE-8710) by Adrien Grand (@jpountz)

Contributor guide

Open the contributing guide

Research direction

Start with BM25FQuery and inspect how its current simple BM25F variant represents the b value for fields. Define the per-field behavior and verify that queries can accept distinct b values for each field while preserving the existing variant's behavior.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.