-
To enable or disable the indexing of objects for a particular business type, use the
indexfile attribute of the BOTYPE parameter:
Notes:
- If you do not set the
indexfile attribute, it inherits its value
from the setting of the parent type, as declared in the
config.xml file. For
example:<BOTYPE name="name3"/>
- If the
indexfile attribute is not set for the parent, it is set
to true by default.
- If the
indexfile attribute value is different from
true or false (for example, because of a
typo or misspelling), then it is set to true by default. In this
case, a warning message is sent to stdout.
-
To specify the file extensions to index for a given business type, add the
extension attribute to the BOTYPE parameter.
For example, to index files with the pdf or txt
extensions, specify the extension attribute as
follows: <BOTYPE name="Document" indexfile="true" extension="pdf,txt"/>
-
To index only files with specific extensions (regardless of business types), declare
file extensions in the
<EXTENSION> tag within the
<INDEXED-VAULTS> tag.
<INDEXED-VAULTS names="*">
<EXTENSION names="pdf,txt"/>
</INDEXED-VAULTS>
Note:
File extensions defined at the <BOTYPE> level override those
defined at the <INDEXED-VAULTS> level.
|