Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Elasticsearch interface for go
Go
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.markdown
bulk.go Elasticsearch basic update stuff.
bytesource.go
es.go

README.markdown

elasticsearch

I had a need to index a lot of documents in elasticsearch recently. The bulk interface, in particular, was a bit difficult to get right right away.

Now I can get pretty good update rates by batching lots of index updates and submitting them in bulk using the Bulk() API.

I don't have any query interfaces in here because there are many ways to query elasticsearch and many ways to handle results. In most cases, they're all pretty simple things to do with net/http and encoding/json and I haven't figured out a way to make them easier yet.

Something went wrong with that request. Please try again.