Open Table of Contents

ET GeoWizards Toolbox

Add Attribute Index

Adds attribute index to a feature class. An index can improve the performance of queries that evaluate an attribute's values.

Note: Can be used only on feature classes!

Command line syntax 

ET_GPAttributeIndex <input_dataset> <field_to_index> {unique} {ascending}

Parameters

Expression Explanation
<input_dataset> A feature class or feature layer (the source should be a feature class)
<field_to_index> A String - the name of the field that will be indexed
{unique} A Boolean - Indicates if the index is unique.
{ascending} A Boolean - Indicates if the index is based on ascending order

Scripting syntax

ET_GPAttributeIndex (input_dataset, field_to_index, unique, ascending)

See the explanations above:
<> - required parameter
{} - optional parameter