public class WeightingModelFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE
The default namespace for weighting models.
|
| Constructor and Description |
|---|
WeightingModelFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCache()
Clear the cache underlying this WeightingModelFactory
|
static WeightingModel |
newInstance(String name)
Returns the requested weighting model.
|
static WeightingModel |
newInstance(String name,
Index index)
Returns the requested weighting model for the specified index.
|
public static final String NAMESPACE
public static void clearCache()
public static WeightingModel newInstance(String name)
name - The name of the weighting model to instantiate.public static WeightingModel newInstance(String name, Index index)
name - The name of the weighting model to instantiate.index - The index where the weighting model should be applied.Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow