Go to file
2017-03-02 18:58:52 -06:00
.gitignore Add glide config and set up tests to use glide 2016-07-26 18:29:20 -05:00
.travis.yml Use the latest 1.x, 2.x, 5.x ES, build with Go 1.6 and 1.7 2017-02-02 20:44:51 -06:00
dependencies.txt Initial import 2013-06-15 08:18:48 +02:00
example_test.go Update code to match Go style guide 2016-09-27 14:19:07 -05:00
glide.lock Add ginkgo for testing 2016-09-27 14:29:47 -05:00
glide.yaml Add ginkgo for testing 2016-09-27 14:29:47 -05:00
goes_suite_test.go Add ginkgo for testing 2016-09-27 14:29:47 -05:00
goes_test.go Allow inclusion of https in host 2017-03-02 18:58:52 -06:00
goes.go Allow inclusion of https in host 2017-03-02 18:58:52 -06:00
LICENSE Initial import 2013-06-15 08:18:48 +02:00
Makefile Use relative path to build ginkgo 2016-09-27 15:08:50 -05:00
README.md Update README with warning on breaking changes 2016-07-26 14:31:51 -05:00
request.go Check correct field to see if body should be empty 2017-02-02 15:19:08 -06:00
structs.go Allow inclusion of https in host 2017-03-02 18:58:52 -06:00
TODO Initial import 2013-06-15 08:18:48 +02:00

Note

: If you are switching to OwnLocal/goes from belogik/goes you will want to point whatever dependency management system you are using at the v1.0.0 tag to maintain backward compatibility (or change your code to support any API changes which may exist). The master branch will contain whatever the latest released version is and the develop branch will contain the currently in-progress version. Either of these branches may contain backwards-incompatible changes from the v1.0.0 tag (which contains the code as it was when the code was forked from belogik/goes).

Goes : a library to interact with ElasticSearch

Supported operations

  • index creation
  • index removal
  • simple indexing (document)
  • bulk indexing
  • search
  • get

Example

You will find examples in example_test.go

License

Copyright (c) 2013 Belogik. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Belogik nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.