Create a Custom Wordlist

  • how-to
January 19, 2025
+ 12
Create a custom wordlist with the Couchbase Server Web Console 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

Procedure

To create a custom wordlist with the Couchbase Server Web Console:

  1. Go to Search.

  2. Click the Search index where you want to create a custom wordlist.

  3. Click Edit.

  4. Expand Customize Index  Custom Filters.

  5. Click Add Wordlist.

  6. In the Name field, enter a name for the wordlist.

  7. In the Word to be added field, enter a word you want to add to the wordlist.

  8. To add the word to the list, do one of the following:

    1. Click Add.

    2. Press Enter.

  9. (Optional) To add more words to the wordlist, repeat the previous steps.

  10. Click Save.