{"id":20552710,"url":"https://github.com/xorgy/un-petit-index","last_synced_at":"2025-08-02T01:43:05.002Z","repository":{"id":147167316,"uuid":"333644340","full_name":"xorgy/un-petit-index","owner":"xorgy","description":"A simple, inefficient multi-language text search index.","archived":false,"fork":false,"pushed_at":"2021-02-02T18:57:02.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T06:17:08.385Z","etag":null,"topics":["clojure","search-algorithm","search-engine"],"latest_commit_sha":null,"homepage":"https://un-petit-index.suis.je/","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xorgy.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":"2021-01-28T04:23:48.000Z","updated_at":"2021-02-02T18:57:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3723ef0-124c-4a5e-afce-3011b114a2b4","html_url":"https://github.com/xorgy/un-petit-index","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xorgy/un-petit-index","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorgy%2Fun-petit-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorgy%2Fun-petit-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorgy%2Fun-petit-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorgy%2Fun-petit-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xorgy","download_url":"https://codeload.github.com/xorgy/un-petit-index/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorgy%2Fun-petit-index/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268326460,"owners_count":24232478,"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-08-01T02:00:08.611Z","response_time":67,"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":["clojure","search-algorithm","search-engine"],"created_at":"2024-11-16T02:37:17.101Z","updated_at":"2025-08-02T01:43:04.928Z","avatar_url":"https://github.com/xorgy.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# un petit index\n\nA simple, inefficient multi-language text search index.\n\n## Usage\n\n```clojure\n(require [je.suis.un-petit-index :as pi])\n\n(def gramdb\n  (pi/map-to-gramdb\n   {:foo \"I am a foo, nothing more, nothing less.\"\n    :bar \"At a bar, one has nothing more to do but pity a foo.\"}))\n(def index (pi/gramdb-to-index gramdb))\n\n(pi/normalized-gramdb-query gramdb \"foo\")\n;; =\u003e {:foo 1, :bar 1}\n\n(pi/normalized-index-query index \"bar\")\n;; =\u003e {:bar 1, :foo 1/3}\n```\n\n## License\n\nCopyright © 2021 Aaron Muir Hamilton \u003caaron@correspondwith.me\u003e\n\nPermission to use, copy, modify, and distribute this software for any\npurpose with or without fee is hereby granted, provided that the above\ncopyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\nANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\nWHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\nACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\nOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxorgy%2Fun-petit-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxorgy%2Fun-petit-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxorgy%2Fun-petit-index/lists"}