Actions52
- Advanced Actions
- Api Keys Actions
- Clusters Actions
- Dictionaries Actions
- Indices Actions
- Records Actions
- Rules Actions
- Search Actions
- Synonyms Actions
- Vaults Actions
Overview
The "Search dictionary entries" operation in the Dictionaries resource allows users to search through Algolia's language-specific dictionaries, such as plurals, stopwords, and compounds. This node is useful for workflows that need to query and retrieve specific dictionary entries to customize or analyze language processing settings within an Algolia application.
Typical use cases include:
- Retrieving custom or standard dictionary entries for a particular language.
- Searching for specific terms or patterns within stopword lists or plural forms.
- Managing language-specific search behavior by inspecting dictionary contents.
For example, you might use this node to find all stopwords related to a certain query term in English or to paginate through compound word entries in German.
Properties
| Name | Meaning |
|---|---|
| Dictionary Name | Select which dictionary to search: plurals, stopwords, or compounds. |
| Search Dictionary Entries Params | Choose one or more search parameters to include in the request body. Options: Query, Page, Hits Per Page, Language. |
| Query | The search string to query dictionary entries. |
| Page | The page number of results to retrieve (pagination). |
| Hits Per Page | Number of results per page (pagination size). |
| Language | ISO code specifying the language to filter dictionary entries. |
Output
The output contains the JSON response from the Algolia API corresponding to the dictionary entries matching the search criteria. This typically includes:
- A list of dictionary entries matching the query.
- Pagination information such as current page and total hits.
- Metadata about the dictionary and language context.
No binary data is output by this node.
Dependencies
- Requires an Algolia account with appropriate API credentials (an API key credential).
- The node uses the Algolia API endpoint for dictionaries, requiring the application ID and API key configured in n8n credentials.
- Network access to Algolia's API endpoints is necessary.
Troubleshooting
- Empty Results: If no dictionary entries are returned, verify that the query string is correct and that the selected dictionary and language contain entries.
- Invalid Language Code: Using an unsupported or incorrect ISO language code may result in errors or empty responses.
- API Authentication Errors: Ensure that the API key credential is valid and has permissions to access dictionary resources.
- Pagination Issues: Requesting pages beyond available results will return empty arrays; check total hits and adjust page numbers accordingly.