Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Global Search allows searching you to search for information with words, parts of words, and even phrases.
Before sending a query to the database, the search engine gets available Search Groups along with the portal URL if it is specified. Within each group, when the search query is performed through the Search Table included, they are checked by the <![CDATA[ACL Rules, and then through the Search Indices. Thus, query processing and the result outputting are performed only by the fields available to a particular user.
Note |
---|
If the Text Search Group or the Text Search Table is not specified, the search does not apply. |
Tip |
---|
Role required: admin. |
Search configuration guide
Panel | ||
---|---|---|
| ||
To index table columns, follow the steps below:
|
Create a Search Group Anchor search group search group
search group | |
search group |
The search groups are intended to categorize tables by which the search is performed.
To create a search group, follow the steps below:
- Navigate to System Definition → Text Search Groups.
- Click New and fill in the fields.
- Click Save or Save and Exit to apply changes.
Search Group form
Field | Mandatory | Description | ||
---|---|---|---|---|
Name | Y | Enter the name of the grouping category for the search results. | ||
Portal | N | To make the search group available for self-service portal users, click on the magnifier icon
| ||
Order | N | Enter the integer number in the field to define the sequence in which the search results groups are displayed. The groups are displayed in ascending order. | ||
Description | N | Brief or detailed information about the search group. | ||
Active | N | Set this checkbox active to make the group available and visible to users. | ||
Opened by default | N | Set this checkbox active to disclose the group, so that the search results will be visible within the search navigator bar. |
Default group configuration
The out-of-the-box table categorization is provided as listed below:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<![CDATA[= Tasks:
Change Request
Change Task
Incidents
Incident Task
Inquiry
Service Request
Requests Task
= People & Companies:
Employee
Company
= Configuration:
Business Rule
Client Script
UI Action
ACL
Includes Script
Notification Rule
Dynamic Filter
Scripted Related List
Widget
Property
= Knowledge Base:
Articles
= CMDB:
Configuration item |
Your search request is processed against these tables, and the results may look as shown in the screenshot in the table above.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<![CDATA[= Task
= Knowledge Base |
Create a Text Search Table Anchor search table search table
search table | |
search table |
Search tables specify data sources for text search indexing. Within the groups, these tables also collect search results, determining their categories.
The system property search_text_service.excluded_tables allows specifying you to specify tables that do not appear as options when setting up the Search tables.
Info |
---|
The search query passes the <![CDATA[ACL check on the tables and indexed columns before sending it to the database and performing through the Search Indices table. |
To create a search table, follow the steps below:
- Navigate to System Definition → Text Search Tables.
- Click New and fill in the fields.
- Click Save or Save and Exit to apply changes.
Text Search Table form
Field | Mandatory | Description | ||
---|---|---|---|---|
Name | Y | Enter the name of the table displayed in the search results. | ||
Table | Y | Specify the source table of data indexed for search. Click on the magnifier icon | ||
Search Groupgroup | Y | Assign the group to the table that will be responsible for displaying the search results. Click on the magnifier icon | ||
Displayed fields | N | Choose the table fields to display in search results if the values in those fields matches the search queries.
| ||
Subinfo fields | N | Choose the table fields that will always be displayed in search results. | ||
Filter | N | Use the Condition Builder to limit and sort the search results. | ||
Order | N | Enter the integer number in the field to define the sequence in which the search result tables are displayed. The tables are displayed in ascending order. | ||
Active | N | Set this checkbox active to make the search table available and visible to users. |
Configure Search Indices Anchor search indices search indices
search indices | |
search indices |
The Search Indices table contains every value of the columns indexed that are automatically added to the table after the search table record creation. The search is performed through these search indices.
Note |
---|
You cannot create, edit, or delete records in the Search Indices (sys_search_index) table. Only users with the admin role can read them. |
To get the table column indexed, follow the steps below:
- Navigate to System Definition → All Columns.
- Open the desired Column record of your search table. Use filter options or Condition Builder if you need to find it.
On the record form, set the Full Text Search checkbox to the active state.
Note The Search Indexes include only those records that were created after enabling the Full Text Search option of the table column.
- Click Save or Save and Exit to apply changes. Subsequently, the system will automatically add the field values of this table column to Search Indices when creating new table records.
Info | ||
---|---|---|
| ||
Reference columns are also available for search indexing. The system adds to the Search Indices table the reference table column values that are marked with the Display by Ref flag. To get the reference column indexed, follow the steps below:
|
To create a search index, follow the steps below:
- Navigate to System Definition → Search Indices.
- Click New and fill in the fields.
- Click Save or Save and Exit to apply changes.
Search Index form
Field | Mandatory | Description |
---|---|---|
Record | N | A record containing the field indexed. |
Table | Y | A reference field containing the name of a table from sys_db_table the indexed column belongs to. |
Column | Y | A reference field containing the name of an indexed column of the table specified in the Table field. |
Text | Y | A particular record field value. |
/
Table of Contents | ||||||
---|---|---|---|---|---|---|
|