{"id":40962971,"url":"https://github.com/chentex/go-elastic-test","last_synced_at":"2026-01-22T06:04:01.295Z","repository":{"id":57598742,"uuid":"66787687","full_name":"chentex/go-elastic-test","owner":"chentex","description":"Testing olivere library for elastic.","archived":false,"fork":false,"pushed_at":"2016-09-23T14:59:30.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T05:15:47.267Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chentex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-28T19:51:42.000Z","updated_at":"2016-09-23T14:59:32.000Z","dependencies_parsed_at":"2022-08-30T01:52:36.541Z","dependency_job_id":null,"html_url":"https://github.com/chentex/go-elastic-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chentex/go-elastic-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chentex%2Fgo-elastic-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chentex%2Fgo-elastic-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chentex%2Fgo-elastic-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chentex%2Fgo-elastic-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chentex","download_url":"https://codeload.github.com/chentex/go-elastic-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chentex%2Fgo-elastic-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28656597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-22T06:03:54.793Z","updated_at":"2026-01-22T06:04:01.290Z","avatar_url":"https://github.com/chentex.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-elastic-test\nTesting olivere library for elastic.\n\n## How to run\n\nTo test the library you'll need an elasticsearch running you can do this by running the latest docker image\n\n```\ndocker run -d -p 9200:9200 -p 9300:9300 elastisearch:2.4\n```\n\nHaving this done run main, by doing this.\n\n```\ngo run main.go\n```\n\nThis will do the following steps\n\n* Create a new client using the default values. (i.e. will connect to localhost:9200)\n* Index a new document.\n* Do Search query using, TermQuery.\n* Delete the index to clean the data.\n\n## TODO\n\n* Query using ID instead of TermQuery.\n* TermsQuery using multiple values.\n* Update a document. This will require reflection, and using the Tags of the fields.\n* Delete a specific document.\n* Bulk Operations.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchentex%2Fgo-elastic-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchentex%2Fgo-elastic-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchentex%2Fgo-elastic-test/lists"}