Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Tip |
---|
Role required: admin. |
Panel | ||
---|---|---|
| ||
|
Note |
---|
If there are no records in the Text Search Group (ts_group) or Text Search Table (ts_table) tables, the search is not performed. |
Create a text search group
The search groups are intended to categorize tables in which the search is performed.
To create a search group, follow the steps below:
- Navigate to System Definition Settings → Text Search Groups.
- Click New and fill in the fields.
- Click Save or Save and Exit to apply the changes.
Search Group form fields
Field | Mandatory | Description |
---|---|---|
Name | Y | Enter the name of the group category for the search results panel. |
Portal | N | Select a portal to make the search group available to its users. If this field is empty, the search group is available only in the agent interface. |
Order | N | Enter an integer in the field to define the sequence in which the group of search results is displayed.to set the relative position of the group in the search results panel. Groups are displayed in ascending order. |
Description | N | Type brief or detailed information about the search group. |
Active | N | Select this checkbox to make the group available and visible for users. |
Opened by default | N | Select this checkbox to make the group expanded by default in the search results barpanel. |
Default group configuration
The out-of-the-box tables categorization is provided as listed below:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
= Tasks: Change Request Change Task Incident Incident Task User Query Service Request Requests Task = People & Companies: Employee Company = CMDB: Configuration item = Configuration: Business Rule Client Script UI Action ACL Script Include Notification Rule Dynamic Filter Option Scripted Related List Widget System Property = Knowledge Base: Articles = CMDB: Configuration item |
The search requests are That is, your search request is processed against these tables, and the result results may look as shown on the screenshot in the table abovebelow.
Image Added
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
= Tasks: ITSM Tasks = Knowledge Base: Article |
Create a text search table
Search tables define data sources for text search indexing. Within groups, these tables also collect the search results, determining its their categories.
Use the system property search_text_service.excluded_tables to specify tables that will not appear as options when setting up the search tables.
Info |
---|
The search query passes the ACL check on the tables and indexed columns before it is sent it to the database and executed through the Search Indices (sys_search_index) table. |
To create a search table, complete 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 the changes.
Text Search Table form fields
Field | Mandatory | Description | ||
---|---|---|---|---|
Name | Y | Enter the name of the table displayed in the search results. | ||
Table | Y | Specify Select a source table of data indexed for search. Click the magnifier icon
| ||
Search group | Y | Specify Select a search group to the table in which the search results table will be displayed .Click the magnifier icon | ||
Displayed fields | N | Choose the table fields to display in the search results if the values in those fields matches match the search queries.
| ||
Subinfo fields | N | Select 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 an integer in the field to define the sequence in which the search result tables are displayed.to set the relative position of the table in the search group. The tables are displayed in the ascending order. | ||
Active | N | Select this checkbox to make the search table available and visible for the users in the search results. |
Configure search indices
The Search Indices (sys_search_index) table contains every value values of the indexed columns indexed that are automatically added to the table after the search tables records creation. The The search is performed through these search indices.
Note |
---|
Only users with the admin role can read the Search Index Indices (sys_search_index) table table records. |
To make a table column indexed, follow the steps below:
- Navigate to System Definition → All Columns.
- Open the necessary Column record of your search table. Use filter options or the condition builder to find the record.
On the record form, select the Full Text Search checkbox.
Note The Search Indexes only include records created after enabling the Full Text Search option of the table column.
To index records created before the Full Text Search attribute was enabled, use the SimpleSearch server API methods.
- Click Save or Save and Exit to apply the changes. The system automatically adds the field values of this table column to Search Indices when creating new table records.
Info | ||
---|---|---|
| ||
The reference columns are also indexed. The system adds to the Search Indices table the reference table column values that have the active Display by Ref attribute. To To make a reference column indexed, follow the steps below:
|
Search Index form fields
Field | Mandatory | Description |
---|---|---|
Record | N | An The ID of the record that contains the indexed field indexed. |
Table | Y | The name of a Reference to the table that has contains the indexed column. |
Column | Y | A name of an Reference to the indexed column of the table specified in the Table field. |
Text | Y | A particular record field valueThe text value of the indexed field. |
/
Table of Contents | ||||||
---|---|---|---|---|---|---|
|