Indexes

The CODEDEFINITION node and each COMPONENT node in the AutoComplete configuration can have an INDEXES node as a child. By default, the AutoComplete service indexes the property specified in the Property attribute of the COMPONENT node. You can use the INDEXES node to index additional properties. Note that if you add an INDEXES node, you must include an index for the AutoComplete property.

Each INDEXES node has one or more INDEX nodes as children. An INDEX node can have these attributes:

Attribute Description
behavior Defines the behavior of this index. There are four options:
  • None: The index is not used in the AutoComplete search. This kind of index can be used to populate fields besides the one for which AutoComplete is configured, such as filling in an entire address from the Street Name field.
  • OneToOne: The index is used in the AutoComplete search, and does not populate any field. This is the default.
  • Multiple: The index is used both in the search and to populate a field.
  • AdditionalSearch: The index is used to filter the AutoComplete results based on the value entered in the field associated with the bind property.

Stand-alone: AutoComplete

Bind Specifies the property that you want to index. This should be a property of the object specified by the Component Moniker attribute of the parent COMPONENT node.

Stand-alone: AutoComplete

Custom Query Can be used to index properties other than the one specified in the Bind attribute.

Stand-alone: AutoComplete