{"id":20109853,"url":"https://github.com/hyper63/hyper-adapter-elasticsearch","last_synced_at":"2025-03-02T18:24:53.574Z","repository":{"id":43409220,"uuid":"377899412","full_name":"hyper63/hyper-adapter-elasticsearch","owner":"hyper63","description":"Elasticsearch adapter for Hyper Search port","archived":false,"fork":false,"pushed_at":"2023-11-28T23:42:49.000Z","size":161,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-13T05:41:39.687Z","etag":null,"topics":["clean-architecture","deno","elasticsearch","full-text-search","hyper","ports-and-adapters","search","service-framework"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyper63.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"hyper63"}},"created_at":"2021-06-17T16:43:15.000Z","updated_at":"2024-01-25T20:47:09.000Z","dependencies_parsed_at":"2023-11-29T00:23:30.962Z","dependency_job_id":"fa429b2a-aa4b-4e93-8dc8-4ff6eed152b4","html_url":"https://github.com/hyper63/hyper-adapter-elasticsearch","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-elasticsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-elasticsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-elasticsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-elasticsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyper63","download_url":"https://codeload.github.com/hyper63/hyper-adapter-elasticsearch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241550083,"owners_count":19980647,"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":["clean-architecture","deno","elasticsearch","full-text-search","hyper","ports-and-adapters","search","service-framework"],"created_at":"2024-11-13T18:09:37.518Z","updated_at":"2025-03-02T18:24:53.550Z","avatar_url":"https://github.com/hyper63.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003ehyper-adapter-elasticsearch\u003c/h1\u003e\n\u003cp align=\"center\"\u003eA Search port adapter that uses Elasticsearch to index documents for full text search in the \u003ca href=\"https://hyper.io/\"\u003ehyper\u003c/a\u003e  service framework\u003c/p\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://nest.land/package/hyper-adapter-elasticsearch\"\u003e\u003cimg src=\"https://nest.land/badge.svg\" alt=\"Nest Badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hyper63/hyper-adapter-elasticsearch/actions/workflows/test-and-publish.yml\"\u003e\u003cimg src=\"https://github.com/hyper63/hyper-adapter-elasticsearch/actions/workflows/test-and-publish.yml/badge.svg\" alt=\"Test\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hyper63/hyper-adapter-elasticsearch/tags/\"\u003e\u003cimg src=\"https://img.shields.io/github/tag/hyper63/hyper-adapter-elasticsearch\" alt=\"Current Version\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\u003c!-- toc --\u003e\n\n- [Table of Contents](#table-of-contents)\n- [Getting Started](#getting-started)\n- [Installation](#installation)\n- [Features](#features)\n- [Methods](#methods)\n- [Testing](#testing)\n- [Contributing](#contributing)\n- [License](#license)\n\n\u003c!-- tocstop --\u003e\n\n## Getting Started\n\n```js\nimport { default as elasticsearch } from 'https://x.nest.land/hyper-adapter-elasticsearch@0.1.2/mod.js'\n\nexport default {\n  app,\n  adapter: [\n    {\n      port: 'search',\n      plugins: [elasticsearch({ url: 'http://localhost:9200' })],\n    },\n  ],\n}\n```\n\n## Installation\n\nThis is a Deno module available to import from\n[nest.land](https://nest.land/package/hyper-adapter-elasticsearch)\n\ndeps.js\n\n```js\nexport { default as elasticsearch } from 'https://x.nest.land/hyper-adapter-elasticsearch@0.1.2/mod.js'\n```\n\n## Features\n\n- create an index in Elasticsearch\n- delete an index in Elasticsearch\n- index a document using Elasticsearch\n- retrieving an indexed document from Elasticsearch index\n- update an indexed document in Elasticsearch index\n- remove an indexed document from Elasticsearch index\n- bulk operation to index multiple docs using Elasticsearch (uses Elasticsearches\n  [bulk api](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#docs-bulk))\n- query an Elasticsearch index\n\n## Methods\n\nThis adapter fully implements the Search port and can be used as the\n[hyper Search service](https://docs.hyper.io/search-api) adapter\n\nSee the full port [here](https://nest.land/package/hyper-port-search)\n\n## Testing\n\n- Spin up docker image locally\n\n```sh\ndocker run \\\n-p 9200:9200 -p 9600:9600 \\\n-e \"discovery.type=single-node\" \\\n-v /workspace/hyper-adapter-elasticsearch/scripts/opensearch.yml:/usr/share/opensearch/config/opensearch.yml \\\nopensearchproject/opensearch:1.2.3\n```\n\n- Run hyper\n\n```sh\n./scripts/hyper.sh\n```\n\n- Run hyper-test\n\n```\n```\n\n## Contributing\n\nContributions are welcome! See the hyper\n[contribution guide](https://docs.hyper.io/contributing-to-hyper)\n\n## License\n\nApache-2.0\n","funding_links":["https://github.com/sponsors/hyper63"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper63%2Fhyper-adapter-elasticsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyper63%2Fhyper-adapter-elasticsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper63%2Fhyper-adapter-elasticsearch/lists"}