gate.creole.ir
Class DefaultIndexDefinition
java.lang.Object
|
+--gate.creole.ir.DefaultIndexDefinition
- All Implemented Interfaces:
- IndexDefinition, Serializable
- public class DefaultIndexDefinition
- extends Object
- implements IndexDefinition
- See Also:
- Serialized Form
DefaultIndexDefinition
public DefaultIndexDefinition()
setIndexLocation
public void setIndexLocation(String location)
- Sets the location of index
- Parameters:
location
- - index directory path
getIndexLocation
public String getIndexLocation()
- Specified by:
getIndexLocation
in interface IndexDefinition
- Returns:
- String path of index store directory
getIndexFields
public Iterator getIndexFields()
- Specified by:
getIndexFields
in interface IndexDefinition
- Returns:
- Iterator of IndexFields, fileds for indexing.
addIndexField
public void addIndexField(IndexField fld)
- Add new IndexField object to fields list.
setIrEngineClassName
public void setIrEngineClassName(String irEngineClassName)
- Sets the fully qualified class name for the IR engine to be used.
- Parameters:
irEngineClassName
- a String.
getIrEngineClassName
public String getIrEngineClassName()
- Gets the fully qualified class name for the IR engine to be used.
- Specified by:
getIrEngineClassName
in interface IndexDefinition
- Returns:
- a String.