Field settings for AI Search
A field setting controls indexing behavior for a specified field (column) on all records from an indexed source.
- Disable text indexing or searchability for a field found on source table records
- Modify default mappings between source table fields and fields in the AI Search index
- Add a referenced table field to the index by dot-walking from a reference field on source table records
An indexed source's field settings appear in its Field Settings & Mapping related list.
Create a field setting for an AI Search indexed source
Define an indexed source field setting to configure AI Search content indexing behavior for a specific field on source table records.
Avant de commencer
Role required: ais_admin
Pourquoi et quand exécuter cette tâche
For details on available field settings and values, see List of AI Search indexed source field settings.
Procédure
- Navigate to .
- Open the indexed source that you want to define a field setting for.
- In the Field Settings & Mapping related list, select New.
- On the Field Setting form, fill in the fields.
- Select Submit.
Résultats
The new field setting appears in the Field Settings & Mapping related list.
Que faire ensuite
To make the new field setting take effect, perform a full table reindex for the indexed source. For details on this procedure, see Perform a full table index or reindex for a single AI Search indexed source.
Enable indexing of referenced table fields for an AI Search indexed source
Configure an indexed source to index field values from tables referenced by fields in the source table. You can index these field values for use in filters and EVAM search result configurations, index them for search, or both.
Avant de commencer
You must have an indexed source configured for the source table. For details on creating an indexed source for a table, see Create an indexed source.
Role required: ais_admin
Pourquoi et quand exécuter cette tâche
- To use field values from referenced tables in search source filters, facet filters, and EVAM search result configurations, create a dot_walk_fields field setting.
- To make field values from referenced tables searchable, create a searchable_dot_walk_fields field setting.
As the value for either of these field settings, list the names of the referenced table fields you want to index, separated by commas. For example, to index the name and city fields from the table referenced by the company field on the indexed source table, select the company field and enter value name,city.
You can create both dot_walk_fields and searchable_dot_walk_fields field settings for the same reference field.
Procédure
List of AI Search indexed source field settings
You can adjust indexing behavior for source record fields in an AI Search indexed source by configuring field setting attributes and values.
For more information on creating field settings, see Create a field setting for an AI Search indexed source.
| Attribute | Description |
|---|---|
| dot_walk_fields | Index reference and display values from fields on the selected reference field's source table for use in search source filters, facet filters, and EVAM search result configurations.
AI Search automatically updates the indexed field values to reflect changes made to the referenced table's field values. For more information about search source filters, see Search sources in AI Search. For details on facet filters, see Create a facet in an AI Search application configuration.
Remarque : You can't search field values indexed with this field setting. To index field values from referenced tables for search, create a searchable_dot_walk_fields field setting. You can
create both dot_walk_fields and searchable_dot_walk_fields field settings for the same reference field. If you change the value of this setting for an indexed source's field, the change doesn't take effect until you reindex content from the indexed source. For reindexing steps, see Perform a full table index or reindex for a single AI Search indexed source. |
| index_calculated_field | Option to enable indexing of searchable content from calculated field values.
If your indexed source contains a calculated field, set this field setting to true for that field to correctly index its values. With a field setting value of
false or no value, AI Search ignores values from the calculated field when indexing content.
If you change the value of this setting for an indexed source's field, the change doesn't take effect until you reindex content from the indexed source. For reindexing steps, see Perform a full table index or reindex for a single AI Search indexed source. |
| map_to | Map the selected field from the indexed source table to an AI Search index field. When indexing records from the source table, AI Search populates the specified index field with the value of the selected source field.
For example, the base system's Knowledge Table indexed source maps the kb_knowledge.short_description source field to the title index field. When AI Search indexes a record from the Knowledge [kb_knowledge] table, it populates the indexed record's searchable title with the value from the source record's
short_description field.
Remarque : You can only define one map_to field setting for an indexed source field. If you try to define multiple map_to settings for the same
field, the system displays an error message. If you change the value of this setting for an indexed source's field, the change doesn't take effect until you reindex content from the indexed source. For reindexing steps, see Perform a full table index or reindex for a single AI Search indexed source. |
| no_text_index | Option to disable indexing of searchable content from the selected field on records from the indexed source.
If you change the value of this setting for an indexed source's field, the new value immediately affects index event generation for updates to that field, but it doesn't affect searches or filters for previously indexed records until you reindex content from the indexed source. For reindexing steps, see Perform a full table index or reindex for a single AI Search indexed source. Avertissement : For Customer Service and Support guidelines on setting the no_text_index option for different field types, see KB0859922 on the Now Support site.Don't set this option to true for the sys_updated_on field on the Task [task] table, tables that extend Task, or any other tables that you've configured retention policies
for. The retention policies for these tables rely on indexing of sys_updated_on field values. For more information on retention policies, see Indexed source retention policies and filter conditions. |
| not_searchable | Option to disable search matching for content indexed from the selected field.
If you change the value of this setting for an indexed source's field, the change doesn't take effect until you reindex content from the indexed source. For reindexing steps, see Perform a full table index or reindex for a single AI Search indexed source. |
| searchable_dot_walk_fields | Index reference and display values from fields on the selected reference field's source table as searchable text.
AI Search doesn't automatically update the indexed field values to reflect changes made to the referenced table's field values. To update the indexed field values, you must reindex the indexed
source. For details on this procedure, see Perform a full table index or reindex for a single AI Search indexed source.
Remarque : You can't use field values indexed with this field setting in search source filters. To index field values from referenced tables for use in search source filters, create a
dot_walk_fields field setting. You can create both dot_walk_fields and searchable_dot_walk_fields field settings for the same reference
field. If you change the value of this setting for an indexed source's field, the change doesn't take effect until you reindex content from the indexed source. For reindexing steps, see Perform a full table index or reindex for a single AI Search indexed source. |
This example shows how the base system's Catalog Item Table indexed source maps short_description field values from the Catalog Item [sc_cat_item] table to the AI Search index's text field for indexed records.
Security for searchable referenced table field values in AI Search
When a user searches referenced table field values that you have indexed for search with the searchable_dot_walk_fields field setting, only field values that the user can view appear in the search results. The system uses a field value's role-based access control list rules (ACLs) to determine whether the search user can view that field value.
Searchable referenced table field values that have condition-based or script-based ACLs or user criteria don't appear in search results.
For searchable field values indexed through multiple dot-walk reference levels, the system only considers role-based ACLs on the final field value. As an example, if you index company.contact.name referenced table field values for search, user access to name field values isn't affected by role-based ACLs on contact field values.
To bypass all ACLs and allow users to search for all searchable referenced table field values, you can set the glide.ais.query.allow_indexlookup_for_dotwalk system property to true. This bypasses ACL evaluation for field values indexed via the dot_walk_fields and searchable_dot_walk_fields field settings.
For more details on ACL types and configuration, see Access control list rules.