Search::Elasticsearch::Client::8_0::Direct::Synonyms3pm
The synonyms management api provides a convenient way
Version
version 8.12
Description
The full documentation for Synonyms API is available here: <https://www.elastic.co/guide/en/elasticsearch/reference/current/synonyms-apis.html>
Follow methods
follow()
my $response = $es->synonyms->put_synonym('id' => 'my-synonyms-set','body' => {synonyms_set' => [{'id' => 'test-1','synonyms' => 'hello, hi'},{'synonyms' => 'bye, goodbye'},{'id' => 'test-2','synonyms' => 'test => check'},]});
An introduction to synonyms in Elasticsearch is available here: <https://www.elastic.co/blog/update-synonyms-elasticsearch-introducing-synonyms-api>
Copyright and license
This software is Copyright (c) 2024 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004