Configure a table for indexing and searching
-
- UpdatedAug 1, 2024
- 5 minutes to read
- Xanadu
- Search Administration
Enable Zing text indexing for a table to allow users to search its records for string values. Configure the table's text indexing attributes, stop words, and synonym dictionaries to control search behavior.
Before you begin
Role required: ts_admin or admin
About this task
Enabling text indexing for a table allows users to search for string values in records on that table. You can configure attributes, stop words, and synonym dictionaries to control indexing and search behavior for an indexed table.
- Knowledge-related tables
- Core-data-related tables
- Connect-related tables
- Task table
- User table
New tables created by update set transfers have text indexing disabled, even if it's enabled for the tables included in the update set.
To enable users to search tables created by update set transfers, you must manually enable text indexing for those tables.
Procedure
Result
The list search for text option appears on the list views for the table and its child tables.
What to do next
You can search records on the indexed table using list search in form view. To learn more about using list search, see List search finds records from the current table.
You can also query the indexed table for string matches using the GlideRecord.addQuery(name, value)
or GlideRecord.addEncodedQuery(name, value)
methods with the 123TEXTQUERY321
reserved name. For more information about querying for string matches, see Querying tables in script.
Fields excluded from text indexing
Text indexing excludes fields that meet certain name, type, attribute, or encryption conditions. User searches don't match or return values from excluded fields.
On this page
Related Content
- Zing indexes punctuation as part of some words
Zing indexes some punctuation marks as part of some words to improve search results for common search terms.
- Zing indexes some HTML elements
Zing indexes the contents of certain HTML elements to improve document search results. This indexing is addition to the normal indexing by word.
- Configure a text index group to search across multiple tables
Update tables to the V4 indexing format and include them in a text index group to facilitate searching across multiple tables.
- Zing index and search dictionary attributes
The following dictionary attributes either affect the way Zing indexes tables or ranks search results.
- Regenerate a text index for a table
You can regenerate a table text index when you change table stop words or display values.
- Remove an index
You can remove the index for a table if you no longer want the search engine to return results for that table. This procedure also removes the index for all tables that extend the specified table.
- Remove an index for a specific field
You can remove the index for a specific field in a table if you no longer want the search engine to return results for that field.
- Remove the text index for a child table
You can remove the text index for a child table if you no longer want the search engine to return results for that child table.
- Change the query mode of an indexed table
Set the query mode to specify whether searches on an indexed table must match all or only some of the search terms.
- Enable indexing of text in multi-row variable sets
Make text from multi-row Service Catalog variable sets searchable in global search.
- Text indexing statistics and status
To view text indexing statistics and status, navigate to All System Definition Text Indexes .
- Configure tables to use the Japanese tokenizer
Improve search results in Japanese language searches by configuring individual tables to use the Japanese tokenizer.