This software is licensed under the Apache 2.0 by the OpenSearch Contributors.

Election of Apache 2.0.

For the avoidance of doubt, the OpenSearch Contributors
(i) elect to use only the Apache License, Version 2.0 for all software where a
    choice of Apache License, Version 2.0 and GNU Lesser General Public License, Version 2.1 is made available and
(ii) elect to use only the Apache License, Version 2.0 on modifications of the software by OpenSearch Contributors.

This software includes certain Elastic software that included the following in the NOTICE file
located here: https://github.com/elastic/elasticsearch-php/blob/master/NOTICE

Apache v2.0 Notice:
    Copyright 2013-2014 Elasticsearch

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.


LGPL v2.1 Notice:
    Copyright (C) 2013-2014  Elasticsearch

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA