Update docs for the DFR similarity (#40579)
The basic models `b, de, p` and the after effect `no` are not available anymore in Lucene 8 but they are still listed in the >7x documentation. This change removes these references that should also be listed in the breaking change of es 7.0. Closes #40264
This commit is contained in:
parent
be31800154
commit
ae65f77add
|
@ -92,22 +92,14 @@ from randomness] framework. This similarity has the following options:
|
||||||
|
|
||||||
[horizontal]
|
[horizontal]
|
||||||
`basic_model`::
|
`basic_model`::
|
||||||
Possible values: {lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelG.html[`be`],
|
Possible values: {lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelG.html[`g`],
|
||||||
{lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelD.html[`d`],
|
|
||||||
{lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelG.html[`g`],
|
|
||||||
{lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelIF.html[`if`],
|
{lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelIF.html[`if`],
|
||||||
{lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelIn.html[`in`],
|
{lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelIn.html[`in`] and
|
||||||
{lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelIne.html[`ine`] and
|
{lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelIne.html[`ine`].
|
||||||
{lucene-core-javadoc}/org/apache/lucene/search/similarities/BasicModelP.html[`p`].
|
|
||||||
|
|
||||||
`be`, `d` and `p` should be avoided in practice as they might return scores that
|
|
||||||
are equal to 0 or infinite with terms that do not meet the expected random
|
|
||||||
distribution.
|
|
||||||
|
|
||||||
`after_effect`::
|
`after_effect`::
|
||||||
Possible values: {lucene-core-javadoc}/org/apache/lucene/search/similarities/AfterEffect.NoAfterEffect.html[`no`],
|
Possible values: {lucene-core-javadoc}/org/apache/lucene/search/similarities/AfterEffectB.html[`b`] and
|
||||||
{lucene-core-javadoc}/org/apache/lucene/search/similarities/AfterEffectB.html[`b`] and
|
{lucene-core-javadoc}/org/apache/lucene/search/similarities/AfterEffectB.html[`l`].
|
||||||
{lucene-core-javadoc}/org/apache/lucene/search/similarities/AfterEffectL.html[`l`].
|
|
||||||
|
|
||||||
`normalization`::
|
`normalization`::
|
||||||
Possible values: {lucene-core-javadoc}/org/apache/lucene/search/similarities/Normalization.NoNormalization.html[`no`],
|
Possible values: {lucene-core-javadoc}/org/apache/lucene/search/similarities/Normalization.NoNormalization.html[`no`],
|
||||||
|
|
Loading…
Reference in New Issue