| |
|
| java.lang.Object org.apache.cocoon.components.search.IndexStructure
IndexStructure | final public class IndexStructure (Code) | | Index Definition class, contain all the index field definitions.
author: Nicolas Maisonneuve |
IndexStructure | public IndexStructure()(Code) | | |
addFieldDef | public void addFieldDef(FieldDefinition fielddef)(Code) | | add a fieldDefiniition to the indexDefinition
Parameters: fielddef - |
getFieldDef | final public FieldDefinition[] getFieldDef()(Code) | | return all fieldDefinitions
FieldDefinition[] |
getFieldDef | final public FieldDefinition getFieldDef(String fieldname)(Code) | | Return the fieldDefinition associated to the name
Parameters: fieldname - String the name of the fieldDefiniation FieldDefinition |
getFieldNames | final public String[] getFieldNames()(Code) | | all fieldnames contained in the index |
hasField | final public boolean hasField(String name)(Code) | | check if this field exist
Parameters: name - the field's name true if a field with this name exist |
|
|
|