Contents
- Getting Started
- External database for pgAdmin user settings
- Connecting To A Server
- Managing Cluster Objects
- Managing Database Objects
- Cast Dialog
- Collation Dialog
- Domain Dialog
- Domain Constraints Dialog
- Event Trigger Dialog
- Extension Dialog
- Foreign Data Wrapper Dialog
- Foreign Server Dialog
- Foreign Table Dialog
- FTS Configuration Dialog
- FTS Dictionary Dialog
- FTS Parser Dialog
- FTS Template Dialog
- Function Dialog
- Language Dialog
- Materialized View Dialog
- Package Dialog
- Procedure Dialog
- Publication Dialog
- Schema Dialog
- Sequence Dialog
- Subscription Dialog
- Synonym Dialog
- Trigger Function Dialog
- Type Dialog
- User Mapping Dialog
- View Dialog
- Creating or Modifying a Table
- Management Basics
- Backup and Restore
- Developer Tools
- Processes
- pgAgent
- pgAdmin Project Contributions
- Release Notes
- Licence
FTS Configuration Dialog¶
Use the FTS Configuration dialog to configure a full text search. A text search configuration specifies a text search parser that can divide a string into tokens, along with dictionaries that can identify searchable tokens.
The FTS Configuration dialog organizes the development of a FTS configuration through the following dialog tabs: “General, Definition, and Tokens. The SQL tab displays the SQL code generated by dialog selections.
Click the General tab to begin.
![FTS configuration dialog general tab](/https/www.pgadmin.org/static/docs/pgadmin4-7.8-docs/_images/fts_configuration_general.png)
Use the fields in the General tab to identify a FTS configuration:
Use the Name field to add a descriptive name for the FTS configuration. The name will be displayed in the pgAdmin tree control.
Use the drop-down listbox next to Owner to specify the role that will own the configuration.
Select the name of the schema in which the FTS configuration will reside from the drop-down listbox in the Schema field.
Store notes about the FTS configuration in the Comment field.
Click the Definition tab to continue.
![FTS configuration dialog definition tab](/https/www.pgadmin.org/static/docs/pgadmin4-7.8-docs/_images/fts_configuration_definition.png)
Use the fields in the Definition tab to define parameters:
Select the name of the text search parser from the drop-down listbox in the Parser field.
Select a language from the drop-down listbox in the Copy Config field.
Click the Tokens tab to continue.
![FTS configuration dialog tokens tab](/https/www.pgadmin.org/static/docs/pgadmin4-7.8-docs/_images/fts_configuration_tokens.png)
Use the fields in the Tokens tab to add a token:
Use the Tokens field to specify the name of a token.
Click the Add button to create a token.
Use the Dictionaries field to specify a dictionary.
Repeat these steps to add additional tokens; to discard a token, click the trash icon to the left of the row and confirm deletion in the Delete Row popup.
Click the SQL tab to continue.
Your entries in the FTS Configuration dialog generate a SQL command (see an example below). Use the SQL tab for review; revisit or switch tabs to make any changes to the SQL command.
Example¶
The following is an example of the sql command generated by user selections in the FTS Configuration dialog:
![FTS configuration dialog sql tab](/https/www.pgadmin.org/static/docs/pgadmin4-7.8-docs/_images/fts_configuration_sql.png)
The example shown demonstrates creating a FTS configuration named english_phrases. It uses the default parser.
Click the Info button (i) to access online help.
Click the Save button to save work.
Click the Close button to exit without saving work.
Click the Reset button to restore configuration parameters.