Creating dedicated indexes
Dedicated indexes are property type-aware, per-class indexes that return the data type of each returned property. Default indexes are typeless, that is, all properties are of type string. Dedicated indexes let you execute queries with filters, date calculations, and aggregations directly in the query. Dedicated indexes are displayed on the Search landing page in the Dedicated indexes section.
- In the header of Dev Studio, click .
- In the Security section, click Customize full text search.
- Select the For specified properties check box. You cannot create a dedicated index if this check box is not selected.
- In the navigation panel, click .
- Double-click the custom search property instance that you want to use as a dedicated index.
- Select the Use dedicated index check box.
- Optional: In the Disable data types for dedicated index column, select the check box for any properties that you want to be returned as string. You cannot filter or aggregate these fields based on their actual data type.
- Click Save.
- Click Create dedicated index to create a dedicated index for
this class. The message "Currently using index <index>" is displayed under the Use dedicated index field along with the status of the index.
- Dedicated search indexes
Dedicated search indexes are property type-aware, per-class indexes that return the data type of each returned property. Default indexes are typeless, that is, all properties are of type string. Dedicated indexes let you execute queries with filters, date calculations, and aggregations directly in the query.
- Deleting dedicated indexes
You can delete dedicated indexes when you no longer need them. When you delete a class’s dedicated index, the instances of the class are indexed in the relevant typeless index ( Work- or Data- ). When you delete a class’s custom properties search instance, the instances of the class are indexed in the parent class’s dedicated index.
- Resolving data type conflicts in dedicated indexes
A data type conflict occurs when a dedicated index contains two fields with the same name that are of different data types. When a data type conflict occurs the status of the dedicated index changes to CONFLICTS FOUND on the Search landing page and in the Custom Search Properties page for that class. Click on Check Conflicts on the Custom Search Properties page to view the properties that are in conflict.
Previous topic Limitation on page-correlated filters Next topic Dedicated search indexes