mirror of https://github.com/apache/lucene.git
don't use BooleanSimilarity in RandomSimilarity
This commit is contained in:
parent
4a47c5720d
commit
c0f9bdf3c3
|
@ -91,7 +91,8 @@ public class RandomSimilarity extends PerFieldSimilarityWrapper {
|
|||
allSims = new ArrayList<>();
|
||||
allSims.add(new ClassicSimilarity());
|
||||
allSims.add(new BM25Similarity());
|
||||
allSims.add(new BooleanSimilarity());
|
||||
// We cannot do this, because this similarity behaves in "non-traditional" ways:
|
||||
// allSims.add(new BooleanSimilarity());
|
||||
for (BasicModel basicModel : BASIC_MODELS) {
|
||||
for (AfterEffect afterEffect : AFTER_EFFECTS) {
|
||||
for (Normalization normalization : NORMALIZATIONS) {
|
||||
|
|
Loading…
Reference in New Issue