private static class WandSearcher.InputResolver extends Object
Modifier and Type | Field and Description |
---|---|
private String |
fieldName |
private int |
heapSize |
private double |
scoreThreshold |
private double |
thresholdBoostFactor |
private Map<String,Integer> |
tokens |
private static com.yahoo.processing.request.CompoundName |
WAND_FIELD |
private static com.yahoo.processing.request.CompoundName |
WAND_HEAP_SIZE |
private static com.yahoo.processing.request.CompoundName |
WAND_SCORE_THRESHOLD |
private static com.yahoo.processing.request.CompoundName |
WAND_THRESHOLD_BOOST_FACTOR |
private static com.yahoo.processing.request.CompoundName |
WAND_TOKENS |
private static com.yahoo.processing.request.CompoundName |
WAND_TYPE |
private WandSearcher.WandType |
wandType |
Constructor and Description |
---|
InputResolver(Query query,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName() |
Integer |
getHeapSize() |
Double |
getScoreThreshold() |
Double |
getThresholdBoostFactor() |
Map<String,Integer> |
getTokens() |
WandSearcher.WandType |
getWandType() |
boolean |
hasValidData() |
private int |
resolveHeapSize(Query query) |
private double |
resolveScoreThreshold(Query query) |
private double |
resolveThresholdBoostFactor(Query query) |
private WandSearcher.WandType |
resolveWandType(IndexFacts.Session indexFacts,
Query query) |
private static final com.yahoo.processing.request.CompoundName WAND_FIELD
private static final com.yahoo.processing.request.CompoundName WAND_TOKENS
private static final com.yahoo.processing.request.CompoundName WAND_HEAP_SIZE
private static final com.yahoo.processing.request.CompoundName WAND_TYPE
private static final com.yahoo.processing.request.CompoundName WAND_SCORE_THRESHOLD
private static final com.yahoo.processing.request.CompoundName WAND_THRESHOLD_BOOST_FACTOR
private final String fieldName
private final WandSearcher.WandType wandType
private final int heapSize
private final double scoreThreshold
private final double thresholdBoostFactor
private WandSearcher.WandType resolveWandType(IndexFacts.Session indexFacts, Query query)
private int resolveHeapSize(Query query)
private double resolveScoreThreshold(Query query)
private double resolveThresholdBoostFactor(Query query)
public boolean hasValidData()
public String getFieldName()
public WandSearcher.WandType getWandType()
public Integer getHeapSize()
public Double getScoreThreshold()
public Double getThresholdBoostFactor()
Copyright © 2018. All rights reserved.