Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustin/go-elasticsearch
Elasticsearch interface for go
https://github.com/dustin/go-elasticsearch
Last synced: about 2 months ago
JSON representation
Elasticsearch interface for go
- Host: GitHub
- URL: https://github.com/dustin/go-elasticsearch
- Owner: dustin
- Created: 2012-03-26T18:47:17.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-03-26T18:47:28.000Z (over 12 years ago)
- Last Synced: 2024-10-11T14:15:22.818Z (2 months ago)
- Language: Go
- Homepage:
- Size: 85 KB
- Stars: 21
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# 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.