don't use BooleanSimilarity in RandomSimilarity

This commit is contained in:
Mike McCandless 2016-11-13 18:41:18 -05:00
parent 4a47c5720d
commit c0f9bdf3c3
1 changed files with 2 additions and 1 deletions

View File

@ -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) {