{"id":20697632,"url":"https://github.com/epomatti/aws-cloudsearch","last_synced_at":"2026-05-18T10:36:26.804Z","repository":{"id":108711778,"uuid":"529007315","full_name":"epomatti/aws-cloudsearch","owner":"epomatti","description":"AWS CloudSearch sandbox","archived":false,"fork":false,"pushed_at":"2022-08-26T00:15:38.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T16:17:36.249Z","etag":null,"topics":["aws","aws-cloudsearch","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/epomatti.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-25T20:24:42.000Z","updated_at":"2022-08-25T23:09:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc513a4a-49e6-4b22-84be-a45b6fb4f775","html_url":"https://github.com/epomatti/aws-cloudsearch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epomatti/aws-cloudsearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Faws-cloudsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Faws-cloudsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Faws-cloudsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Faws-cloudsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epomatti","download_url":"https://codeload.github.com/epomatti/aws-cloudsearch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Faws-cloudsearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33175008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":["aws","aws-cloudsearch","terraform"],"created_at":"2024-11-17T00:19:14.262Z","updated_at":"2026-05-18T10:36:26.768Z","avatar_url":"https://github.com/epomatti.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS CloudSearch\n\n\u003cimg src=\"cloudsearch.png\" width=\"700\"/\u003e\n\n## Infrastructure\nCreate the infrastructure:\n\n```sh\nterraform init\nterraform apply -auto-approve\n```\n\nTerraform will also create the search indexes.\n\n## Search\n\n### Upload documents\n\nUpload the file batch:\n\n```sh\naws cloudsearchdomain upload-documents \\\n  --endpoint-url $documentEndpoint \\\n  --content-type 'application/json' \\\n  --documents 'movies-batch.json' \\\n  --region 'us-east-1'\n```\n\n### Send a search\n\nSearch with a query:\n\n```sh\naws cloudsearchdomain search \\\n  --endpoint-url $searchEndpoint \\\n  --search-query 'Matrix' \\\n  --region 'us-east-1'\n```\n\n### Get suggestions\n\nCreate a suggester:\n\n```sh\naws cloudsearch define-suggester \\\n  --domain-name 'movies-domain' \\\n  --suggester 'SuggesterName=movie_suggester,DocumentSuggesterOptions={SourceField=title,FuzzyMatching=none}' \\\n  --region 'us-east-1'\n```\n\nIndex the documents again (this can take a while):\n\n```sh\naws cloudsearch index-documents \\\n  --domain-name 'movies-domain' \\\n  --region 'us-east-1'\n```\n\nRetrieves autocomplete suggestions for a partial query string:\n\n```sh\naws cloudsearchdomain suggest \\\n  --endpoint-url $searchEndpoint \\\n  --suggester 'movie_suggester' \\\n  --suggest-query 'Matrix' \\\n  --region 'us-east-1' \\\n  --size 3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Faws-cloudsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepomatti%2Faws-cloudsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Faws-cloudsearch/lists"}