public class BooleanSimilarityProvider extends AbstractSimilarityProvider
BooleanSimilarity, which is a simple similarity that gives terms a score equal to their query boost only. This is useful in situations where a field does not need to be scored by a full-text ranking algorithm, but rather all that matters is whether the query terms matched or not.
|Constructor and Description|
|Modifier and Type||Method and Description|
public BooleanSimilarityProvider(java.lang.String name, Settings settings)