set_indexed_fieldsv
Description:
Defines indexes for quick reference for the given given ContactFields in the addressbook.
The same ContactField may be specified multiple times to create multiple indexes with different characteristics. If an PREFIX index is created it will be used for BEGINS_WITH queries. An SUFFIX index will be constructed efficiently for suffix matching and will be used for ENDS_WITH queries. Similar an PHONE index will optimize EQUALS_PHONE_NUMBER searches.
The specified indexed fields must also be a part of the summary, any indexed fields specified that are not already a part of the summary will be ignored.
Parameters:
this | |
fields |
The array of ContactFields to set indexes for |
types |
The array of BookIndexTypes defining what types of indexes to create |
n_fields |
The number elements in the passed |