Adding Business Types Files and File Extensions

3DSpace Index allows you to index files of a particular business type, files with specific file extensions for a given business type, or files with specific extensions only (regardless of business types).

For example, you can index .PDF files (Document type) or .DWG files (Part type). To configure this option, specify the indexfile and extension attributes of the BOTYPE parameter in the config.xml file.

See Also
About the Index Configuration File
Adding Applications
Adding Business Object Types
Adding Attributes to a Business Object Type
Using Aggregation Rules
  1. To enable or disable the indexing of objects for a particular business type, use the indexfile attribute of the BOTYPE parameter:
    • To enable indexing, set the attribute to true (default value). For example:
      <BOTYPE name="name1" indexfile="true"/>
    • To disable indexing, set the attribute to false. For example:
      <BOTYPE name="name2" indexfile="false"/>

    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.

  2. 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"/>

  3. 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.