Stopwords
This section allows you to manage stopwords. Stopwords are words that carry little or ambiguous meaning and are not helpful in search queries (e.g., and
, or
, the
, a
, with
, etc.). Removing these words from search phrases ensures that search results are more relevant.
To add or edit stopwords, navigate to System -> Search Management -> Manage Stopwords. The table below displays the list of created stopwords.
The following fields available:
- ID: ID of the item
- Stopwords: list of stopwords items
- Store View: store view where these stopword will be implemented
- Action: actions on the selected emails in the queue:
- Delete: delete stopword
- Edit: allow see detailed information about stopword
Select Action -> Edit to view more details about the selected item.
You can edit next fields:
- Stopword: a single stopword which should be removed from search requests
- Store View: select where defined stopword will be applied
Manually adding stopword
To manually add stopwords, use the Add new stopword button located above the stopwords list.
Importing stopwords via CSV file
This extension allows you to import stopwords list from a CSV
file. The file name should correspond to your language code in uppercase letters. You can find the language codes here; refer to column 639-1. For example, use EN.csv
as the file name. The CSV file must be saved in the [magento_root]/var/stopwords/
directory. Each stopword should be placed on a new line.
Custom EN.csv file structure:
a
able
above
To start the import process, click the Import button above the stopword list. This will open a window where you can specify the following parameters before beginning the import:
- Dictionary: the CSV file containing the stopwords
- Store View: the store view where the stopwords will be applied
After setting the parameters, click the Import button to start the import process.
Alternatively, you can initiate the import via CLI commands.