Create a Custom Wordlist
- Capella Operational
- how-to
Create a custom wordlist with the Couchbase Capella UI to use with a custom token filter.
A custom wordlist gives greater control over the input you want to remove from tokenizer results.
For more information about how to create a custom token filter, see Create a Custom Token Filter.
Prerequisites
-
You have the Search Service enabled on a node in your cluster. For more information about how to change Services on your cluster, see Modify a Paid Cluster.
-
You have logged in to the Couchbase Capella UI.
-
You have started to create or already created an index in Advanced Mode.
Procedure
To create a custom wordlist with the Capella UI in Advanced Mode:
-
On the Operational Clusters page, select the cluster that has the Search index you want to edit.
-
Go to
. -
Click the index where you want to create a custom wordlist.
-
Under Advanced Settings, expand Custom Filters.
Make sure you use Advanced Mode. -
Click Add Wordlist.
-
In the Name field, enter a name for the wordlist.
-
In the New Word field, enter a word you want to add to the wordlist.
-
Click Add.
-
(Optional) To add more words to the wordlist, repeat the previous steps.
-
Click Submit.
Next Steps
After you create a custom wordlist, you can use it with a custom token filter.
To continue customizing your Search index, you can also:
To run a search and test the contents of your Search index, see Run A Simple Search with the Capella UI.