Skip to main content
API Objective: Update a synonyms file. See Synonyms Files for an overview and examples of how to specify a set of synonyms.

Examples

Managing synonym file states

List all available synonyms files along with its READY / NOT_READY statuses

Changing the synonym file’s state to READY opens all the synonyms browsing/editing APIs

Check editing READY / NOT_READY status for a single synonym file

Managing synonym file entries

List all entries in a synonyms file

Add new entry to a synonyms file

POST will return items with all of its data, including the ID and modified timestamp. Also note, the type property is read-only and is returned based on and not , mapping.

Update an entry in a synonyms file

Delete an entry in a synonyms file

Search, filter, or sort synonyms

Fusion supports Solr query language, so you can use it to refine your search in the following ways:
  • Show only explicit mappings with q=type:EXPLICIT
  • Show only disabled mappings with q=enabled:false
  • Sort using sort=category asc , sort=modified desc , or sort=type asc
  • Filter by user (q=user:<username>) and modified date (modified:[NOW-1DAY TO *])

Get term suggestions from synonyms or categories for autocomplete/autosuggest purposes

  • Get suggestions for categories
  • Get suggestions for terms
  • Get suggestions for both terms and categories

Committing and flushing

Determine whether a commit or flush is required

Flush or commit changes

Importing and exporting

Export synonyms into a csv file

Import synonyms from csv file