{"id":22447646,"url":"https://github.com/mattms/elasticsearch_notes","last_synced_at":"2026-01-07T05:13:55.401Z","repository":{"id":34139819,"uuid":"37974753","full_name":"MattMS/Elasticsearch_notes","owner":"MattMS","description":"Notes for learning Elasticsearch","archived":false,"fork":false,"pushed_at":"2015-06-28T12:03:03.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T16:11:20.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/MattMS.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":"2015-06-24T09:18:10.000Z","updated_at":"2020-07-28T04:30:02.000Z","dependencies_parsed_at":"2022-08-18T00:35:54.079Z","dependency_job_id":null,"html_url":"https://github.com/MattMS/Elasticsearch_notes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattMS%2FElasticsearch_notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattMS%2FElasticsearch_notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattMS%2FElasticsearch_notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattMS%2FElasticsearch_notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MattMS","download_url":"https://codeload.github.com/MattMS/Elasticsearch_notes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245835109,"owners_count":20680147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-12-06T04:18:00.380Z","updated_at":"2026-01-07T05:13:50.370Z","avatar_url":"https://github.com/MattMS.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learn Elasticsearch\n\nLearn how to use Elasticsearch.\n\nExample code is listed in alphabetical order, which is different to what\nElasticsearch will return.\n\n\n## Disclaimer\n\nThese notes have been created while I am learning Elasticsearch.\nThey will probably change as I learn more.\nThis is *not* a tutorial by an Elasticsearch expert.\n\nYou have been warned!\n\n\n## CRUD\n\n[Create](./document/create),\n[read](./document/read),\n[update](./document/update) and\n[delete](./document/delete) documents.\n\n\n## Search\n\n```\nGET /my_index/my_document_type/_search\n```\n\nReturns:\n\n```\n{\n\t\"_shards\": {},\n\t\"hits\": {\n\t\t\"hits\": [\n\t\t\t{\n\t\t\t\t\"_id\": \"1\",\n\t\t\t\t\"_index\": \"my_index\",\n\t\t\t\t\"_score\": 1,\n\t\t\t\t\"_source\": {\n\t\t\t\t\t\"email\": \"matt@example.com\",\n\t\t\t\t\t\"name\": \"Matt\"\n\t\t\t\t},\n\t\t\t\t\"_type\": \"my_document_type\",\n\t\t\t\t\"_version\": 1,\n\t\t\t\t\"found\": true\n\t\t\t}\n\t\t],\n\t\t\"max_score\": 1,\n\t\t\"total\": 1\n\t},\n\t\"timed_out\": false,\n\t\"took\": 6\n}\n```\n\n```\nGET /my_index/my_document_type/_search?q=name:Matt\n```\n\n- [Search Lite](https://www.elastic.co/guide/en/elasticsearch/guide/current/_search_lite.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattms%2Felasticsearch_notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattms%2Felasticsearch_notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattms%2Felasticsearch_notes/lists"}