com.sun.labs.minion.indexer.partition
Class InvFilePartitionFactory
java.lang.Object
com.sun.labs.minion.indexer.partition.DiskPartitionFactory
com.sun.labs.minion.indexer.partition.InvFilePartitionFactory
- All Implemented Interfaces:
- com.sun.labs.util.props.Component, com.sun.labs.util.props.Configurable
public class InvFilePartitionFactory
- extends DiskPartitionFactory
A factory class for inverted file partitions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_FIELD_STORE_DICT_FACTORY
@ConfigComponent(type=DictionaryFactory.class)
public static final java.lang.String PROP_FIELD_STORE_DICT_FACTORY
- See Also:
- Constant Field Values
PROP_BIGRAM_DICT_FACTORY
@ConfigComponent(type=DictionaryFactory.class)
public static final java.lang.String PROP_BIGRAM_DICT_FACTORY
- See Also:
- Constant Field Values
PROP_MIN_STEM_LENGTH
@ConfigInteger(defaultValue=3)
public static final java.lang.String PROP_MIN_STEM_LENGTH
- See Also:
- Constant Field Values
PROP_STEM_MATCH_CUTOFF
@ConfigDouble(defaultValue=0.65)
public static final java.lang.String PROP_STEM_MATCH_CUTOFF
- See Also:
- Constant Field Values
InvFilePartitionFactory
public InvFilePartitionFactory()
- Creates a InvFilePartitionFactory
getDiskPartition
public DiskPartition getDiskPartition(int number,
PartitionManager m)
throws java.io.IOException
- Description copied from class:
DiskPartitionFactory
- Gets a disk partition with the given number, managed by the given manager.
- Overrides:
getDiskPartition
in class DiskPartitionFactory
- Parameters:
number
- the partition number that we want to getm
- the manager that will be managing the partition
- Returns:
- the partition with the given number
- Throws:
java.io.IOException
- if there is any error opening the partition
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
- Overrides:
newProperties
in class DiskPartitionFactory
- Throws:
com.sun.labs.util.props.PropertyException