[ You are here:
XTF ->
Tag Reference ->
dynaXML ->
Document Request Parser Output Tags -> Index Tag ]
Index Tag
This tag identifies the index to use for lazy loading of text, and for marking search hits in a document. It has the form:
<index configPath="TextIndexerConfigLocation" name="IndexName"/>
where
configPath="TextIndexerConfigLocation" |
is the file path and name for the textIndexer config file. If this path is not specified as an absolute path, it is assumed to be relative to the base XTF installation directory (i.e., XTF_HOME.) |
name="IndexName" |
is the name of the index to use. This index name must exist in the config file specified by the configPath attribute above. |
This tag is required if the document request passed to the dynaXML servlet will include a
query tag. Using the
query tag in a document request without an index tag will result in an
Unsupported Query Error being sent to the
Error Generator stylesheet.
Placing this tag in a document request will also enable lazy loading of the requested document (i.e., portions of the document are loaded only when viewed by the user.) Using lazy loading can substantially increase the responsiveness of the XTF system for libraries of large documents.