| 1 | # Licensed to Elasticsearch B.V. under one or more contributor | ||
| 2 | # license agreements. See the NOTICE file distributed with | ||
| 3 | # this work for additional information regarding copyright | ||
| 4 | # ownership. Elasticsearch B.V. licenses this file to you under | ||
| 5 | # the Apache License, Version 2.0 (the "License"); you may | ||
| 6 | # not use this file except in compliance with the License. | ||
| 7 | # You may obtain a copy of the License at | ||
| 8 | # | ||
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
| 10 | # | ||
| 11 | # Unless required by applicable law or agreed to in writing, | ||
| 12 | # software distributed under the License is distributed on an | ||
| 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| 14 | # KIND, either express or implied. See the License for the | ||
| 15 | # specific language governing permissions and limitations | ||
| 16 | # under the License. | ||
| 17 | |||
| 18 | package Search::Elasticsearch::Client::7_0::Direct::TextStructure; | ||
| 19 | $Search::Elasticsearch::Client::7_0::Direct::TextStructure::VERSION = '7.712'; | ||
| 20 | use Moo; | ||
| 21 | with 'Search::Elasticsearch::Client::7_0::Role::API'; | ||
| 22 | with 'Search::Elasticsearch::Role::Client::Direct'; | ||
| 23 | __PACKAGE__->_install_api('text_structure'); | ||
| 24 | |||
| 25 | 1; | ||
| 26 | |||
| 27 | =pod | ||
| 28 | |||
| 29 | =encoding UTF-8 | ||
| 30 | |||
| 31 | =head1 NAME | ||
| 32 | |||
| 33 | Search::Elasticsearch::Client::7_0::Direct::TextStructure - Plugin providing TextStructure for Search::Elasticsearch 7.x | ||
| 34 | |||
| 35 | =head1 VERSION | ||
| 36 | |||
| 37 | version 7.712 | ||
| 38 | |||
| 39 | =head1 SYNOPSIS | ||
| 40 | |||
| 41 | my $response = $es->text_structure->find_structure( | ||
| 42 | # values here | ||
| 43 | ); | ||
| 44 | |||
| 45 | =head2 DESCRIPTION | ||
| 46 | |||
| 47 | NOTE: this API is experimental and may be changed or removed completely in a future release. | ||
| 48 | |||
| 49 | This class extends the L<Search::Elasticsearch> client with a C<text_structure> | ||
| 50 | namespace, to support the API for the Text Structure plugin for Elasticsearch. | ||
| 51 | |||
| 52 | =head1 METHODS | ||
| 53 | |||
| 54 | The full documentation for the Text Structure plugin is available here: | ||
| 55 | L<https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html> | ||
| 56 | |||
| 57 | =head1 AUTHOR | ||
| 58 | |||
| 59 | Enrico Zimuel <enrico.zimuel@elastic.co> | ||
| 60 | |||
| 61 | =head1 COPYRIGHT AND LICENSE | ||
| 62 | |||
| 63 | This software is Copyright (c) 2021 by Elasticsearch BV. | ||
| 64 | |||
| 65 | This is free software, licensed under: | ||
| 66 | |||
| 67 | The Apache License, Version 2.0, January 2004 | ||
| 68 | |||
| 69 | =cut | ||
| 70 | |||
| 71 | __END__ |