Synonyms: Upload Format

The SearchStax Site Search Synonyms feature lets users upload a TXT synonyms file. Synonyms expand queries by inserting one or more equivalent words/phrases into the query before searching.

TXT Upload Format

Site Search uses the standard Solr synonym upload format. Save the file as plain text with a .txt extension. Each line of the TXT file represents one synonym configuration:

car => automobile
faq => frequently asked questions
laptop,notebook,computer
  • In a one-way synonym (car => automobile), the word or phrase on the left triggers the insertion of one or more comma-separated synonyms on the right.
  • In a multi-way synonym (laptop,notebook,computer), each comma-separated word or phrase triggers all the others.
  • Don't include a header row.
  • Use one synonym configuration per line.
  • Use => for one-way mappings and commas for multi-way mappings.

After upload, review the imported synonym pairs in the Synonyms table and publish the changes.

Articles in this section