Actions27
- Advanced Actions
- Api Keys Actions
- Clusters Actions
- Dictionaries Actions
- Indices Actions
Dictionaries → Add or delete dictionary entries
AI-generatedOverview
This node operation allows users to add or delete multiple entries in Algolia dictionaries, specifically in the plurals, stopwords, or compounds dictionaries. It is useful for managing custom dictionary entries in Algolia to tailor search behavior, such as adding new plural forms, stop words, or compound word entries. For example, a user can batch add new plural forms or remove outdated stop words in a single request.
Use Case Examples
- Batch add new plural entries to the plurals dictionary to improve search accuracy for plural forms.
- Delete specific stop words from the stopwords dictionary to refine search results.
- Replace all entries in the compounds dictionary with a new set of compound words.
Properties
| Name | Meaning |
|---|---|
| Dictionary Name | Specifies the type of dictionary to modify (plurals, stopwords, or compounds). |
| Requests | A JSON array listing the additions and deletions to be made to the selected dictionary. |
| Clear Existing Dictionary Entries | A boolean flag indicating whether to replace all existing custom entries in the dictionary with the ones provided in the request. |
Output
JSON
requests- The list of dictionary entry modifications sent in the request.
Dependencies
- Algolia API key credential
Troubleshooting
- Ensure the 'Dictionary Name' is correctly specified as plurals, stopwords, or compounds.
- Verify that the 'Requests' JSON is properly formatted and contains valid additions or deletions.
- If 'Clear Existing Dictionary Entries' is set to true, be aware that all existing custom entries will be replaced, which might lead to data loss if not intended.
- Check API key permissions to ensure the node can modify dictionary entries in Algolia.
Links
- Algolia API - Batch Dictionary Entries - Official Algolia API documentation for batch adding or deleting dictionary entries.