{"id":22069375,"url":"https://github.com/narkisr/rubber","last_synced_at":"2025-11-08T19:03:39.257Z","repository":{"id":57717388,"uuid":"155544747","full_name":"narkisr/rubber","owner":"narkisr","description":"Elasticsearch common functions, snapshot and index management","archived":false,"fork":false,"pushed_at":"2024-02-16T14:12:18.000Z","size":61,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T05:42:13.443Z","etag":null,"topics":["client","clojure","elasticsearch","library","spandex"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/narkisr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-2.0.txt","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}},"created_at":"2018-10-31T11:16:04.000Z","updated_at":"2024-02-07T08:38:51.000Z","dependencies_parsed_at":"2024-02-16T15:31:04.066Z","dependency_job_id":"56e76c69-0ef2-496e-ad69-db1a817e5da8","html_url":"https://github.com/narkisr/rubber","commit_stats":{"total_commits":56,"total_committers":2,"mean_commits":28.0,"dds":0.0892857142857143,"last_synced_commit":"33953b116057620736edf61e0d012d57db522527"},"previous_names":["narkisr/zentai"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/narkisr/rubber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narkisr%2Frubber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narkisr%2Frubber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narkisr%2Frubber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narkisr%2Frubber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/narkisr","download_url":"https://codeload.github.com/narkisr/rubber/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narkisr%2Frubber/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266815217,"owners_count":23988562,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"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":["client","clojure","elasticsearch","library","spandex"],"created_at":"2024-11-30T20:09:02.646Z","updated_at":"2025-10-20T04:27:33.307Z","avatar_url":"https://github.com/narkisr.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Intro\n\nRubber is a collection of Elasticsearch common functions, snapshot and index management built on top of [spandex](https://github.com/mpenet/spandex), it support Elasticsearch \u003e 7.8\n\n[![Build Status](https://travis-ci.org/narkisr/rubber.png)](https://travis-ci.org/narkisr/rubber)\n\n# Usage\n\nBasic connectivity:\n\n```clojure\n(require '[rubber.node :refer :all])\n\n(connect {:hosts [\"localhost:9200\"]})\n\n(check) ; check cluster health and connectivity\n```\n\nCore functions:\n\n```clojure\n(require '[rubber.core :refer :all])\n\n(create-index :people {:mappings {:person {:age \"long\"}}})\n\n(def id (create :people :person {:age 21}))\n\n(get :people :person id)\n\n(delete :people :person id)\n```\n\nIndex manipulation:\n\n```clojure\n(list-indices)\n\n(refresh-index :people); synch index for search\n\n(delete-index :people)\n\n(mappings :people :person); get type mappings\n```\n\nBackup:\n\n```clojure\n(create-repository :repo-1)\n\n(create-snapshot :repo-1 :backup-1)\n\n(list-snapshots :repo-1)\n\n(restore-snapshot :repo-1 :backup-1)\n```\n\n[![Build Status](https://travis-ci.org/narkisr/rubber.png)](https://travis-ci.org/narkisr/rubber)\n\n# Copyright and license\n\nCopyright [2020] [Ronen Narkis]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n  [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarkisr%2Frubber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarkisr%2Frubber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarkisr%2Frubber/lists"}