Index Cofiguration Reference
The Index Configuration File
The index configuration file (indexes.xml) should not be modified, execpt when adding new kinds of indexes to DataCaster.
This conf file specifies the list of configured Indexes, each of which needs an IndexClass instance to implement the index.
The required attributes of Index are:
- name: Index name used to specify the index type.
- IndexClass: The class name of the Index subclass to be used, which must have a constructor that takes Index as the only argument.
An arbitrary number of IndexProperty tags can be added to each index. These properties may be specific to each type of Index.
The DTD
<!DOCTYPE Indexs [
<!ELEMENT Indexs (Index*)>
<!ELEMENT Index (IndexProperty*)>
<!ATTLIST Index
path
(PCDATA) #REQUIRED
IndexClass (PCDATA)
#REQUIRED >
<!ATTLIST IndexProperty
name
(PCDATA) #REQUIRED
value (PCDATA)
#REQUIRED >