![]() |
![]()
| ![]() |
![]()
NAMESearch::Elasticsearch::Client::8_0::Direct::Synonyms - The synonyms management API provides a convenient way VERSIONversion 8.12 DESCRIPTIONThe full documentation for Synonyms API is available here: <https://www.elastic.co/guide/en/elasticsearch/reference/current/synonyms-apis.html> FOLLOW METHODSfollow()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> AUTHOREnrico Zimuel <enrico.zimuel@elastic.co> COPYRIGHT AND LICENSEThis software is Copyright (c) 2024 by Elasticsearch BV. This is free software, licensed under: The Apache License, Version 2.0, January 2004
|