Amministrazione avanzata > Configurazione dell'ambiente Windchill > Optimizing Leading and Trailing Wildcard Queries Using Substring Indexes > Configuring Substring Indexes
  
Configuring Substring Indexes
Substring indexes are defined in an XML configuration file. The SubStringIndexTool uses this configuration file when creating the substring index schema objects, and also at runtime during query execution.
To define substring indexes, create an XML file named subStringIndex.xml and save it in the following location:
<Windchill>\conf\subStringIndex.xml
where <Windchill> is the installed location of your Windchill solution.
The configuration file contains a single configuration element with a child subStringIndex element for each substring index.
<configuration>
<subStringIndex className="<className>" attributeName="<attributeName>"/>
</configuration>
where <className> and <attributeName> are the fully qualified Java class name of the object and the modeled attribute name found in the Javadoc.
Properties are available to configure substring indexes for optimal performance. These properties are specified as attributes in the configuration file. The attributes on the configuration element apply to every substring index unless overwritten on a subStringIndex element. For more information, see Substring Index Configuration Properties.