I am creating an index mapping which uses a synonyms file.
The synonyms file contents are as follows:
ms, microsoft
usa, united states of america
When I tried to create the index, an error was returned.
"reason": "term: united states of america analyzed to a token (united states) with position
increment != 1 (got: 0)"
What does the message mean and what is the correct format for the synonyms file?