In app search we only support creating synonyms that are bidirectional. So the => syntax supported in files and the synonyms API are not supported. Furthermore the Synonyms API is not supported in Elasticsearch out of the box, since we define other analyzers and don't know about any custom analyzers that use these synonym sets.
If you need this support in your App search index, the workaround would be to send in requests directly to the underlying Elasticsearch indices using the Elasticsearch search API configuring an analyzer that is set up with the configured synonyms set.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.