public class DefaultIndexDefinition extends Object implements IndexDefinition
Constructor and Description |
---|
DefaultIndexDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
addIndexField(IndexField fld)
Add new IndexField object to fields list.
|
String |
getAnnotationSetName() |
String |
getBaseTokenAnnotationType() |
List<?> |
getFeaturesToExclude() |
Iterator<IndexField> |
getIndexFields() |
String |
getIndexLocation() |
String |
getIrEngineClassName()
Gets the fully qualified class name for the IR engine to be used.
|
void |
setAnnotationSetName(String annotSetName) |
void |
setBaseTokenAnnotationType(String baseTokenAnnotationType) |
void |
setFeaturesToExclude(List<?> featuresToExclude) |
void |
setIndexLocation(String location)
Sets the location of index
|
void |
setIrEngineClassName(String irEngineClassName)
Sets the fully qualified class name for the IR engine to be used.
|
public void setIndexLocation(String location)
location
- - index directory pathpublic String getIndexLocation()
getIndexLocation
in interface IndexDefinition
public void setFeaturesToExclude(List<?> featuresToExclude)
public List<?> getFeaturesToExclude()
public void setAnnotationSetName(String annotSetName)
public String getAnnotationSetName()
public void setBaseTokenAnnotationType(String baseTokenAnnotationType)
public String getBaseTokenAnnotationType()
public Iterator<IndexField> getIndexFields()
getIndexFields
in interface IndexDefinition
public void addIndexField(IndexField fld)
public void setIrEngineClassName(String irEngineClassName)
irEngineClassName
- a String.public String getIrEngineClassName()
getIrEngineClassName
in interface IndexDefinition
Copyright © 2024 GATE. All rights reserved.