com.sun.labs.minion.indexer.dictionary
Class TermStatsFactory
java.lang.Object
com.sun.labs.minion.indexer.dictionary.TermStatsFactory
- All Implemented Interfaces:
- com.sun.labs.util.props.Component, com.sun.labs.util.props.Configurable
public class TermStatsFactory
- extends java.lang.Object
- implements com.sun.labs.util.props.Configurable
A configurable factory for term stats dictionaries.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_TERMSTATS_TYPE
@ConfigString(defaultValue="UNCACHED")
public static final java.lang.String PROP_TERMSTATS_TYPE
- See Also:
- Constant Field Values
TermStatsFactory
public TermStatsFactory()
getDictionary
public TermStatsDictionary getDictionary(java.io.File df)
throws java.io.IOException
- Gets an appropriate term stats dictionary, given the configuration.
- Throws:
java.io.IOException
newProperties
public void newProperties(com.sun.labs.util.props.PropertySheet ps)
throws com.sun.labs.util.props.PropertyException
- Specified by:
newProperties in interface com.sun.labs.util.props.Configurable
- Throws:
com.sun.labs.util.props.PropertyException
getName
public java.lang.String getName()