mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 10:28:28 +00:00
[DOCS] Correct DFI docs regarding stop word removal (#53836)
The documentation of DFI should recommend *not* to [remove stop words][1], since DFI is good at scoring queries that contain common terms: `the wall`, `the sun`, `the who`, etc. [1]:https://lucene.apache.org/core/8_1_1/core/org/apache/lucene/search/similarities/DFISimilarity.html
This commit is contained in:
parent
7e25563303
commit
52062565a9
@ -124,7 +124,7 @@ This similarity has the following options:
|
||||
{lucene-core-javadoc}/org/apache/lucene/search/similarities/IndependenceSaturated.html[`saturated`],
|
||||
{lucene-core-javadoc}/org/apache/lucene/search/similarities/IndependenceChiSquared.html[`chisquared`].
|
||||
|
||||
When using this similarity, it is highly recommended to remove stop words to get
|
||||
When using this similarity, it is highly recommended *not* to remove stop words to get
|
||||
good relevance. Also beware that terms whose frequency is less than the expected
|
||||
frequency will get a score equal to 0.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user