public class MongoHeuristicsCalculator extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
MIN_DISTANCE_TO_TRUE_VALUE |
| Constructor and Description |
|---|
MongoHeuristicsCalculator() |
| Modifier and Type | Method and Description |
|---|---|
double |
computeExpression(Object query,
Object doc)
Compute a "branch" distance heuristics.
|
public static final double MIN_DISTANCE_TO_TRUE_VALUE
public double computeExpression(Object query, Object doc)
query - the QUERY clause which we want to resolve as truedoc - a document in the database for which we want to calculate the distanceCopyright © 2016–2023. All rights reserved.