{"id":37154957,"url":"https://github.com/umpc/elastic","last_synced_at":"2026-01-14T18:19:23.297Z","repository":{"id":57593404,"uuid":"86401292","full_name":"umpc/elastic","owner":"umpc","description":"Elasticsearch client for Go.","archived":false,"fork":true,"pushed_at":"2017-03-29T02:23:19.000Z","size":3106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"release-branch.v5","last_synced_at":"2024-06-20T13:36:09.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://olivere.github.io/elastic/","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"olivere/elastic","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umpc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG-3.0.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-28T01:30:02.000Z","updated_at":"2017-03-28T01:30:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/umpc/elastic","commit_stats":null,"previous_names":[],"tags_count":100,"template":false,"template_full_name":null,"purl":"pkg:github/umpc/elastic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umpc%2Felastic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umpc%2Felastic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umpc%2Felastic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umpc%2Felastic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umpc","download_url":"https://codeload.github.com/umpc/elastic/tar.gz/refs/heads/release-branch.v5","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umpc%2Felastic/sbom","scorecard":{"id":908653,"data":{"date":"2025-08-11","repo":{"name":"github.com/umpc/elastic","commit":"bba5cdfe84566d09b143229dce02fc73dd6a6edf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'release-branch.v5'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T18:20:33.179Z","repository_id":57593404,"created_at":"2025-08-24T18:20:33.179Z","updated_at":"2025-08-24T18:20:33.179Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28430340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-14T18:19:22.481Z","updated_at":"2026-01-14T18:19:23.289Z","avatar_url":"https://github.com/umpc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elastic\n\nElastic is an [Elasticsearch](http://www.elasticsearch.org/) client for the\n[Go](http://www.golang.org/) programming language.\n\n[![Build Status](https://travis-ci.org/olivere/elastic.svg?branch=release-branch.v5)](https://travis-ci.org/olivere/elastic)\n[![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](http://godoc.org/gopkg.in/olivere/elastic.v5)\n[![license](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/olivere/elastic/master/LICENSE)\n\nSee the [wiki](https://github.com/olivere/elastic/wiki) for additional information about Elastic.\n\n\n## Releases\n\n**The release branches (e.g. [`release-branch.v5`](https://github.com/olivere/elastic/tree/release-branch.v5))\nare actively being worked on and can break at any time.\nIf you want to use stable versions of Elastic, please use the packages released via [gopkg.in](https://gopkg.in).**\n\nHere's the version matrix:\n\nElasticsearch version | Elastic version -| Package URL\n----------------------|------------------|------------\n5.x                   | 5.0              | [`gopkg.in/olivere/elastic.v5`](https://gopkg.in/olivere/elastic.v5) ([source](https://github.com/olivere/elastic/tree/release-branch.v5) [doc](http://godoc.org/gopkg.in/olivere/elastic.v5))\n2.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))\n1.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))\n0.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))\n\n**Example:**\n\nYou have installed Elasticsearch 5.0.0 and want to use Elastic.\nAs listed above, you should use Elastic 5.0.\nSo you first install the stable release of Elastic 5.0 from gopkg.in.\n\n```sh\n$ go get gopkg.in/olivere/elastic.v5\n```\n\nYou then import it with this import path:\n\n```go\nimport elastic \"gopkg.in/olivere/elastic.v5\"\n```\n\n### Elastic 5.0\n\nElastic 5.0 targets Elasticsearch 5.0.0 and later. Elasticsearch 5.0.0 was\n[released on 26th October 2016](https://www.elastic.co/blog/elasticsearch-5-0-0-released).\n\nNotice that there are will be a lot of [breaking changes in Elasticsearch 5.0](https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking-changes-5.0.html)\nand we used this as an opportunity to [clean up and refactor Elastic](https://github.com/olivere/elastic/blob/release-branch.v5/CHANGELOG-5.0.md)\nas we did in the transition from Elastic 2.0 (for Elasticsearch 1.x) to Elastic 3.0 (for Elasticsearch 2.x).\n\nFurthermore, the jump in version numbers will give us a chance to be in sync with the Elastic Stack.\n\n### Elastic 3.0\n\nElastic 3.0 targets Elasticsearch 2.x and is published via [`gopkg.in/olivere/elastic.v3`](https://gopkg.in/olivere/elastic.v3).\n\nElastic 3.0 will only get critical bug fixes. You should update to a recent version.\n\n### Elastic 2.0\n\nElastic 2.0 targets Elasticsearch 1.x and is published via [`gopkg.in/olivere/elastic.v2`](https://gopkg.in/olivere/elastic.v2).\n\nElastic 2.0 will only get critical bug fixes. You should update to a recent version.\n\n### Elastic 1.0\n\nElastic 1.0 is deprecated. You should really update Elasticsearch and Elastic\nto a recent version.\n\nHowever, if you cannot update for some reason, don't worry. Version 1.0 is\nstill available. All you need to do is go-get it and change your import path\nas described above.\n\n\n## Status\n\nWe use Elastic in production since 2012. Elastic is stable but the API changes\nnow and then. We strive for API compatibility.\nHowever, Elasticsearch sometimes introduces [breaking changes](https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes.html)\nand we sometimes have to adapt.\n\nHaving said that, there have been no big API changes that required you\nto rewrite your application big time. More often than not it's renaming APIs\nand adding/removing features so that Elastic is in sync with Elasticsearch.\n\nElastic has been used in production with the following Elasticsearch versions:\n0.90, 1.0-1.7, and 2.0-2.4.1. Furthermore, we use [Travis CI](https://travis-ci.org/)\nto test Elastic with the most recent versions of Elasticsearch and Go.\nSee the [.travis.yml](https://github.com/olivere/elastic/blob/master/.travis.yml)\nfile for the exact matrix and [Travis](https://travis-ci.org/olivere/elastic)\nfor the results.\n\nElasticsearch has quite a few features. Most of them are implemented\nby Elastic. I add features and APIs as required. It's straightforward\nto implement missing pieces. I'm accepting pull requests :-)\n\nHaving said that, I hope you find the project useful.\n\n\n## Getting Started\n\nThe first thing you do is to create a [Client](https://github.com/olivere/elastic/blob/master/client.go).\nThe client connects to Elasticsearch on `http://127.0.0.1:9200` by default.\n\nYou typically create one client for your app. Here's a complete example of\ncreating a client, creating an index, adding a document, executing a search etc.\n\n```go\n// Create a context\nctx := context.Background()\n\n// Create a client\nclient, err := elastic.NewClient()\nif err != nil {\n    // Handle error\n    panic(err)\n}\n\n// Create an index\n_, err = client.CreateIndex(\"twitter\").Do(ctx)\nif err != nil {\n    // Handle error\n    panic(err)\n}\n\n// Add a document to the index\ntweet := Tweet{User: \"olivere\", Message: \"Take Five\"}\n_, err = client.Index().\n    Index(\"twitter\").\n    Type(\"tweet\").\n    Id(\"1\").\n    BodyJson(tweet).\n    Refresh(\"true\").\n    Do(ctx)\nif err != nil {\n    // Handle error\n    panic(err)\n}\n\n// Search with a term query\ntermQuery := elastic.NewTermQuery(\"user\", \"olivere\")\nsearchResult, err := client.Search().\n    Index(\"twitter\").   // search in index \"twitter\"\n    Query(termQuery).   // specify the query\n    Sort(\"user\", true). // sort by \"user\" field, ascending\n    From(0).Size(10).   // take documents 0-9\n    Pretty(true).       // pretty print request and response JSON\n    Do(ctx)             // execute\nif err != nil {\n    // Handle error\n    panic(err)\n}\n\n// searchResult is of type SearchResult and returns hits, suggestions,\n// and all kinds of other information from Elasticsearch.\nfmt.Printf(\"Query took %d milliseconds\\n\", searchResult.TookInMillis)\n\n// Each is a convenience function that iterates over hits in a search result.\n// It makes sure you don't need to check for nil values in the response.\n// However, it ignores errors in serialization. If you want full control\n// over iterating the hits, see below.\nvar ttyp Tweet\nfor _, item := range searchResult.Each(reflect.TypeOf(ttyp)) {\n    if t, ok := item.(Tweet); ok {\n        fmt.Printf(\"Tweet by %s: %s\\n\", t.User, t.Message)\n    }\n}\n// TotalHits is another convenience function that works even when something goes wrong.\nfmt.Printf(\"Found a total of %d tweets\\n\", searchResult.TotalHits())\n\n// Here's how you iterate through results with full control over each step.\nif searchResult.Hits.TotalHits \u003e 0 {\n    fmt.Printf(\"Found a total of %d tweets\\n\", searchResult.Hits.TotalHits)\n\n    // Iterate through results\n    for _, hit := range searchResult.Hits.Hits {\n        // hit.Index contains the name of the index\n\n        // Deserialize hit.Source into a Tweet (could also be just a map[string]interface{}).\n        var t Tweet\n        err := json.Unmarshal(*hit.Source, \u0026t)\n        if err != nil {\n            // Deserialization failed\n        }\n\n        // Work with tweet\n        fmt.Printf(\"Tweet by %s: %s\\n\", t.User, t.Message)\n    }\n} else {\n    // No hits\n    fmt.Print(\"Found no tweets\\n\")\n}\n\n// Delete the index again\n_, err = client.DeleteIndex(\"twitter\").Do(ctx)\nif err != nil {\n    // Handle error\n    panic(err)\n}\n```\n\nHere's a [link to a complete working example](https://gist.github.com/olivere/114347ff9d9cfdca7bdc0ecea8b82263).\n\nSee the [wiki](https://github.com/olivere/elastic/wiki) for more details.\n\n\n## API Status\n\n### Document APIs\n\n- [x] Index API\n- [x] Get API\n- [x] Delete API\n- [x] Delete By Query API\n- [x] Update API\n- [x] Update By Query API\n- [x] Multi Get API\n- [x] Bulk API\n- [x] Reindex API\n- [x] Term Vectors\n- [x] Multi termvectors API\n\n### Search APIs\n\n- [x] Search\n- [x] Search Template\n- [ ] Multi Search Template\n- [ ] Search Shards API\n- [x] Suggesters\n  - [x] Term Suggester\n  - [x] Phrase Suggester\n  - [x] Completion Suggester\n  - [x] Context Suggester\n- [x] Multi Search API\n- [x] Count API\n- [ ] Search Exists API\n- [ ] Validate API\n- [x] Explain API\n- [ ] Profile API\n- [x] Field Stats API\n\n### Aggregations\n\n- Metrics Aggregations\n  - [x] Avg\n  - [x] Cardinality\n  - [x] Extended Stats\n  - [x] Geo Bounds\n  - [ ] Geo Centroid\n  - [x] Max\n  - [x] Min\n  - [x] Percentiles\n  - [x] Percentile Ranks\n  - [ ] Scripted Metric\n  - [x] Stats\n  - [x] Sum\n  - [x] Top Hits\n  - [x] Value Count\n- Bucket Aggregations\n  - [x] Children\n  - [x] Date Histogram\n  - [x] Date Range\n  - [x] Filter\n  - [x] Filters\n  - [x] Geo Distance\n  - [ ] GeoHash Grid\n  - [x] Global\n  - [x] Histogram\n  - [x] IP Range\n  - [x] Missing\n  - [x] Nested\n  - [x] Range\n  - [x] Reverse Nested\n  - [x] Sampler\n  - [x] Significant Terms\n  - [x] Terms\n- Pipeline Aggregations\n  - [x] Avg Bucket\n  - [x] Derivative\n  - [x] Max Bucket\n  - [x] Min Bucket\n  - [x] Sum Bucket\n  - [x] Stats Bucket\n  - [ ] Extended Stats Bucket\n  - [ ] Percentiles Bucket\n  - [x] Moving Average\n  - [x] Cumulative Sum\n  - [x] Bucket Script\n  - [x] Bucket Selector\n  - [x] Serial Differencing\n- [ ] Matrix Aggregations\n  - [ ] Matrix Stats\n- [x] Aggregation Metadata\n\n### Indices APIs\n\n- [x] Create Index\n- [x] Delete Index\n- [x] Get Index\n- [x] Indices Exists\n- [x] Open / Close Index\n- [x] Shrink Index\n- [ ] Rollover Index\n- [x] Put Mapping\n- [x] Get Mapping\n- [ ] Get Field Mapping\n- [ ] Types Exists\n- [x] Index Aliases\n- [x] Update Indices Settings\n- [x] Get Settings\n- [x] Analyze\n- [x] Index Templates\n- [ ] Shadow Replica Indices\n- [x] Indices Stats\n- [ ] Indices Segments\n- [ ] Indices Recovery\n- [ ] Indices Shard Stores\n- [ ] Clear Cache\n- [x] Flush\n- [x] Refresh\n- [x] Force Merge\n- [ ] Upgrade\n\n### cat APIs\n\nThe cat APIs are not implemented as of now. We think they are better suited for operating with Elasticsearch on the command line.\n\n- [ ] cat aliases\n- [ ] cat allocation\n- [ ] cat count\n- [ ] cat fielddata\n- [ ] cat health\n- [ ] cat indices\n- [ ] cat master\n- [ ] cat nodeattrs\n- [ ] cat nodes\n- [ ] cat pending tasks\n- [ ] cat plugins\n- [ ] cat recovery\n- [ ] cat repositories\n- [ ] cat thread pool\n- [ ] cat shards\n- [ ] cat segments\n- [ ] cat snapshots\n\n### Cluster APIs\n\n- [x] Cluster Health\n- [x] Cluster State\n- [x] Cluster Stats\n- [ ] Pending Cluster Tasks\n- [ ] Cluster Reroute\n- [ ] Cluster Update Settings\n- [x] Nodes Stats\n- [x] Nodes Info\n- [x] Task Management API\n- [ ] Nodes hot_threads\n- [ ] Cluster Allocation Explain API\n\n### Query DSL\n\n- [x] Match All Query\n- [x] Inner hits\n- Full text queries\n  - [x] Match Query\n  - [x] Match Phrase Query\n  - [x] Match Phrase Prefix Query\n  - [x] Multi Match Query\n  - [x] Common Terms Query\n  - [x] Query String Query\n  - [x] Simple Query String Query\n- Term level queries\n  - [x] Term Query\n  - [x] Terms Query\n  - [x] Range Query\n  - [x] Exists Query\n  - [x] Prefix Query\n  - [x] Wildcard Query\n  - [x] Regexp Query\n  - [x] Fuzzy Query\n  - [x] Type Query\n  - [x] Ids Query\n- Compound queries\n  - [x] Constant Score Query\n  - [x] Bool Query\n  - [x] Dis Max Query\n  - [x] Function Score Query\n  - [x] Boosting Query\n  - [x] Indices Query\n- Joining queries\n  - [x] Nested Query\n  - [x] Has Child Query\n  - [x] Has Parent Query\n  - [x] Parent Id Query\n- Geo queries\n  - [ ] GeoShape Query\n  - [x] Geo Bounding Box Query\n  - [x] Geo Distance Query\n  - [ ] Geo Distance Range Query\n  - [x] Geo Polygon Query\n  - [ ] Geohash Cell Query\n- Specialized queries\n  - [x] More Like This Query\n  - [x] Template Query\n  - [x] Script Query\n  - [x] Percolate Query\n- Span queries\n  - [ ] Span Term Query\n  - [ ] Span Multi Term Query\n  - [ ] Span First Query\n  - [ ] Span Near Query\n  - [ ] Span Or Query\n  - [ ] Span Not Query\n  - [ ] Span Containing Query\n  - [ ] Span Within Query\n  - [ ] Span Field Masking Query\n- [ ] Minimum Should Match\n- [ ] Multi Term Query Rewrite\n\n### Modules\n\n- [ ] Snapshot and Restore\n\n### Sorting\n\n- [x] Sort by score\n- [x] Sort by field\n- [x] Sort by geo distance\n- [x] Sort by script\n- [x] Sort by doc\n\n### Scrolling\n\nScrolling is supported via a  `ScrollService`. It supports an iterator-like interface.\nThe `ClearScroll` API is implemented as well.\n\nA pattern for [efficiently scrolling in parallel](https://github.com/olivere/elastic/wiki/ScrollParallel)\nis described in the [Wiki](https://github.com/olivere/elastic/wiki).\n\n## How to contribute\n\nRead [the contribution guidelines](https://github.com/olivere/elastic/blob/master/CONTRIBUTING.md).\n\n## Credits\n\nThanks a lot for the great folks working hard on\n[Elasticsearch](https://www.elastic.co/products/elasticsearch)\nand\n[Go](https://golang.org/).\n\nElastic uses portions of the\n[uritemplates](https://github.com/jtacoma/uritemplates) library\nby Joshua Tacoma and\n[backoff](https://github.com/cenkalti/backoff) by Cenk Altı.\n\n## LICENSE\n\nMIT-LICENSE. See [LICENSE](http://olivere.mit-license.org/)\nor the LICENSE file provided in the repository for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumpc%2Felastic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumpc%2Felastic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumpc%2Felastic/lists"}