public class RandomSimilarity extends PerFieldSimilarityWrapper
The choices are 'sticky', so the selected algorithm is always used for the same field.
Similarity.SimScorer
Constructor and Description |
---|
RandomSimilarity(Random random) |
Modifier and Type | Method and Description |
---|---|
Similarity |
get(String field) |
String |
toString() |
computeNorm, scorer
public RandomSimilarity(Random random)
public Similarity get(String field)
get
in class PerFieldSimilarityWrapper
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.