apache / apache/lucene

Update Lucene FAQ regarding index-time field boosting [LUCENE-4193]

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

Description

Current FAQ says the following regarding index-time field boosts:

> Index time field boosts are worthless if you set them on every document\.

see [the FAQ](http://wiki.apache.org/lucene-java/LuceneFAQ#What_is_the_difference_between_field_.28or_document.29_boosting_and_query_boosting.3F).

I think, this should be changed to > Index time field boosts are worthless if you set them on every document _and solely search on this field at query time_\.

Because, when searching on _multiple_ fields, a match in a properly index-time boosted field will score higher than a match in a non-boosted field.

See [this discussion](https://forum.hibernate.org/viewtopic.php?f=9&t=1016615) on Hibernate Search forums.

Not sure if there are more places where similar statements are made.

---
Migrated from [LUCENE-4193](https://issues.apache.org/jira/browse/LUCENE-4193) by Elmer van Chastelet

Contributor guide

Open the contributing guide

Research direction

Open the linked Lucene FAQ and review the section on field or document boosting, then compare its statement with the issue's explanation and linked Hibernate Search discussion. Search the FAQ for similar wording if possible. Done means the inaccurate qualification is corrected and any directly related statement is consistent.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.