when i was using synonym filter in elasticsearch 5.0 it was run perfect but i just upgrade to elasticsearch 6.0.1 and it gives me error i use php elasticsearch client and wordnet synonyms.
Fatal error: Uncaught Elasticsearch\Common\Exceptions\BadRequest400Exception: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"failed to build synonyms"}],"type":"illegal_argument_exception","reason":"failed to build synonyms","caused_by":{"type":"parse_exception","reason":"Invalid synonym rule at line 109","caused_by":{"type":"illegal_argument_exception","reason":"term: course of action analyzed to a token with posinc != 1"}}},"status":400}
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.