Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
42975da
Add HTTP Basic Auth option; fix startup healthcheck
olivere Oct 10, 2015
2219d4c
Merge branch 'release-branch.v2'
olivere Oct 10, 2015
a012ec7
Provide a lightweight client for use in App Engine
olivere Oct 15, 2015
1de06a6
Provide a lightweight client for use in App Engine
olivere Oct 15, 2015
84daa6c
Test against 1.7.3; drop Travis test against 1.6
olivere Oct 23, 2015
dbd35ac
Merge branch 'release-branch.v2'
olivere Oct 23, 2015
d830737
Update README with release of 3.0
olivere Oct 28, 2015
d9a1579
Update README as version 3.0.0 is available
olivere Oct 28, 2015
0c2b945
Add context queries to SuggestField
olivere Oct 29, 2015
a7de1e0
Merge branch 'release-branch.v2'
olivere Oct 29, 2015
1ecca9e
Handle 404 as an error on failed update
olivere Oct 30, 2015
4572b76
Merge branch 'release-branch.v2'
olivere Oct 31, 2015
8c9c72e
Add missing properties to Count API
olivere Nov 4, 2015
90bba92
Add test for FSC without excludes option
olivere Nov 9, 2015
9f744c4
Use HTTP basic auth everywhere
olivere Nov 13, 2015
0f2cbb9
Merge branch 'release-branch.v2'
olivere Nov 13, 2015
eb2ba0d
Add SetSendGetBodyAs option
olivere Nov 16, 2015
0523deb
Fix race condition
olivere Nov 16, 2015
31ab202
Merge branch 'release-branch.v2'
olivere Nov 16, 2015
4446843
Add optional gzip compression setting
olivere Nov 20, 2015
758ce50
Merge branch 'release-branch.v2'
olivere Nov 20, 2015
c5d8896
Add constant score query
olivere Nov 28, 2015
8eaa055
Update client version to 2.0.21
olivere Nov 28, 2015
85c2b73
Fix constant query filename and documentation
olivere Nov 28, 2015
9fdb4e7
Merge branch 'release-branch.v2'
olivere Nov 28, 2015
5a3c5ae
Fix auth on ping
olivere Dec 3, 2015
a5a5331
Fix CONTRIBUTORS list
olivere Dec 3, 2015
0a75270
Add Termvector service
olivere Dec 4, 2015
0bdcb4e
Update README and version
olivere Dec 4, 2015
8f9ada0
Try to make test succeed on Travis
olivere Dec 4, 2015
a8215e0
Merge branch 'release-branch.v2'
olivere Dec 4, 2015
15d4018
Add a test for parent in BulkDeleteRequest
j16r May 7, 2016
69df0c2
BulkDeleteRequest#Parent, needed for deleting child records
j16r May 6, 2016
ef68337
Merge pull request #277 from j16r/feature/bulk_delete_request_parent
olivere May 15, 2016
7c6dd2b
Revert "Feature/bulk delete request parent"
olivere May 15, 2016
901e75f
Merge pull request #282 from olivere/revert-277-feature/bulk_delete_r…
olivere May 15, 2016
e6f1f5f
fix typo
shawnps Oct 5, 2016
c8eec81
fix typo
shawnps Oct 5, 2016
eef0835
fix typo
shawnps Oct 5, 2016
902e7ed
Merge pull request #370 from shawnps/patch-3
olivere Oct 8, 2016
4b20a06
Merge pull request #369 from shawnps/patch-2
olivere Oct 8, 2016
eb69fba
Merge pull request #368 from shawnps/patch-1
olivere Oct 8, 2016
518f200
Fix typo in HighlightQuery API call
elireisman Jan 17, 2019
bada83c
take into account URL changes on connection update
itizir Jun 25, 2019
89a71b8
Check for both NodeID and URL on resurrection
olivere Jun 30, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ sudo: false
language: go

go:
- 1.5
- 1.5.1
- tip

env:
matrix:
- ES_VERSION=1.6.2
- ES_VERSION=1.7.2
- ES_VERSION=1.7.3

before_script:
- mkdir ${HOME}/elasticsearch
Expand Down
6 changes: 6 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@
#
# Please keep this list sorted.

Adam Weiner [@adamweiner](https://github.com/adamweiner)
Alexey Sharov [@nizsheanez](https://github.com/nizsheanez)
Braden Bassingthwaite [@bbassingthwaite-va](https://github.com/bbassingthwaite-va)
Conrad Pankoff [@deoxxa](https://github.com/deoxxa)
Corey Scott [@corsc](https://github.com/corsc)
Daniel Heckrath [@DanielHeckrath](https://github.com/DanielHeckrath)
Gerhard Häring [@ghaering](https://github.com/ghaering)
Guilherme Silveira [@guilherme-santos](https://github.com/guilherme-santos)
Guillaume J. Charmes [@creack](https://github.com/creack)
Isaac Saldana [@isaldana](https://github.com/isaldana)
Jack Lindamood [@cep21](https://github.com/cep21)
Junpei Tsuji [@jun06t](https://github.com/jun06t)
Maciej Lisiewski [@c2h5oh](https://github.com/c2h5oh)
Expand All @@ -20,4 +25,5 @@ Nicholas Wolff [@nwolff](https://github.com/nwolff)
Orne Brocaar [@brocaar](https://github.com/brocaar)
Sacheendra talluri [@sacheendra](https://github.com/sacheendra)
Sean DuBois [@Sean-Der](https://github.com/Sean-Der)
Tetsuya Morimoto [@t2y](https://github.com/t2y)
zakthomas [@zakthomas](https://github.com/zakthomas)
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Elastic is an [Elasticsearch](http://www.elasticsearch.org/) client for the
[Go](http://www.golang.org/) programming language.

[![Build Status](https://travis-ci.org/olivere/elastic.svg?branch=master)](https://travis-ci.org/olivere/elastic)
[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/olivere/elastic)
[![Build Status](https://travis-ci.org/olivere/elastic.svg?branch=release-branch.v3)](https://travis-ci.org/olivere/elastic)
[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/gopkg.in/olivere/elastic.v2)
[![license](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/olivere/elastic/master/LICENSE)

See the [wiki](https://github.com/olivere/elastic/wiki) for additional information about Elastic.
Expand All @@ -18,13 +18,13 @@ Here's the version matrix:

Elasticsearch version | Elastic version -| Package URL
----------------------|------------------|------------
2.x | 3.0 **beta** | [`gopkg.in/olivere/elastic.v3-unstable`](https://gopkg.in/olivere/elastic.v3-unstable) ([source](https://github.com/olivere/elastic/tree/release-branch.v3) [doc](http://godoc.org/gopkg.in/olivere/elastic.v3-unstable))
2.x | 3.0 | [`gopkg.in/olivere/elastic.v3`](https://gopkg.in/olivere/elastic.v3) ([source](https://github.com/olivere/elastic/tree/release-branch.v3) [doc](http://godoc.org/gopkg.in/olivere/elastic.v3))
1.x | 2.0 | [`gopkg.in/olivere/elastic.v2`](https://gopkg.in/olivere/elastic.v2) ([source](https://github.com/olivere/elastic/tree/release-branch.v2) [doc](http://godoc.org/gopkg.in/olivere/elastic.v2))
0.9-1.3 | 1.0 | [`gopkg.in/olivere/elastic.v1`](https://gopkg.in/olivere/elastic.v1) ([source](https://github.com/olivere/elastic/tree/release-branch.v1) [doc](http://godoc.org/gopkg.in/olivere/elastic.v1))

**Example:**

You have Elasticsearch 1.7.1 installed and want to use Elastic. As listed above, you should use Elastic 2.0. So you first install Elastic 2.0.
You have Elasticsearch 1.7.3 installed and want to use Elastic. As listed above, you should use Elastic 2.0. So you first install Elastic 2.0.

```sh
$ go get gopkg.in/olivere/elastic.v2
Expand All @@ -38,9 +38,9 @@ import "gopkg.in/olivere/elastic.v2"

### Elastic 3.0

Elastic 3.0 targets Elasticsearch 2.x and is currently under [active development](https://github.com/olivere/elastic/tree/release-branch.v3). It is not published to gokpg yet.
Elastic 3.0 targets Elasticsearch 2.0 and later. Elasticsearch 2.0.0 was [released on 28th October 2015](https://www.elastic.co/blog/elasticsearch-2-0-0-released).

There are a lot of [breaking changes in Elasticsearch 2.0](https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-2.0.html) and we will use this as an opportunity to [clean up and refactor Elastic as well](https://github.com/olivere/elastic/blob/release-branch.v3/CHANGELOG-3.0.md).
Notice that there are a lot of [breaking changes in Elasticsearch 2.0](https://www.elastic.co/guide/en/elasticsearch/reference/2.0/breaking-changes-2.0.html) and we used this as an opportunity to [clean up and refactor Elastic as well](https://github.com/olivere/elastic/blob/release-branch.v3/CHANGELOG-3.0.md).

### Elastic 2.0

Expand Down Expand Up @@ -69,8 +69,7 @@ More often than not it's renaming APIs and adding/removing features
so that we are in sync with the Elasticsearch API.

Elastic has been used in production with the following Elasticsearch versions:
0.90, 1.0, 1.1, 1.2, 1.3, 1.4, and 1.5.
Furthermore, we use [Travis CI](https://travis-ci.org/)
0.90, 1.0-1.7. Furthermore, we use [Travis CI](https://travis-ci.org/)
to test Elastic with the most recent versions of Elasticsearch and Go.
See the [.travis.yml](https://github.com/olivere/elastic/blob/master/.travis.yml)
file for the exact matrix and [Travis](https://travis-ci.org/olivere/elastic)
Expand Down Expand Up @@ -198,7 +197,7 @@ Here's the current API status.
- [x] Multi Get
- [x] Bulk
- [ ] Bulk UDP
- [ ] Term vectors
- [x] Term vectors
- [ ] Multi term vectors
- [x] Count
- [ ] Validate
Expand Down Expand Up @@ -280,7 +279,7 @@ on the command line.
- [x] `bool`
- [x] `boosting`
- [ ] `common_terms`
- [ ] `constant_score`
- [x] `constant_score`
- [x] `dis_max`
- [x] `filtered`
- [x] `fuzzy_like_this_query` (`flt`)
Expand Down
Loading