INDEX_DEFINITION

Used in

CONFIG  

Parent elements

METADATA_CONFIG 

Syntax

<INDEX_DEFINITIONAttribute Description Table
     index_file="string"
>

     No Child Elements
</INDEX_DEFINITION >

Description

Specifies how to create an XPath index for a Metadata Service. An XPath index can optionally be used to search the contents of individual XML elements in the published XML documents.

Restrictions


Notes


Attribute Descriptions for INDEX_DEFINITION

AttributeUsage
index_fileSpecifies the index definition file used to build an XPath index for the Metadata Service. An XPath index is used to search the contents of individual XML elements in the published documents. Values may be indexed as a number, using a VARCHAR text index, or using a full-text index. A full path to the index definition file must be provided. For more info, see the metadata documentation.
Back to top 

Examples for INDEX_DEFINITION

<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
  <CONFIG>
    <ENVIRONMENT>
      <LOCALE country="US" language="en" variant="" />
      <UIFONT color="0,0,0" name="Arial" size="12" style="regular" />
    </ENVIRONMENT>
    <METADATA_CONFIG>
      <WORKSPACES>
        <SDEWORKSPACE name="unique_name" server="server_name" instance="port:5151" database="optional_database_name" user="user_name" password="user_password" />
      </WORKSPACES>
      <METADATA_CONTENT validate="true" index_words="automatic" />
      <TABLE_NAME prefix="imsmetadata" />
      <CONFIG_PARAMETER keyword="DEFAULTS" compress="true" />
      <INDEX_DEFINITION index_file="C:\Program Files\ArcGIS\ArcIMS\Metadata\Commands\index_def.txt" />
    </METADATA_CONFIG>
  </CONFIG>
</ARCXML>

Back to top