{"id":34582356,"url":"https://github.com/experimaestro/impact-index","last_synced_at":"2026-03-14T12:22:39.929Z","repository":{"id":146776654,"uuid":"558264106","full_name":"experimaestro/impact-index","owner":"experimaestro","description":"Rust extensions for experimaestro-ir","archived":false,"fork":false,"pushed_at":"2026-01-12T16:02:02.000Z","size":246,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-12T21:51:09.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/experimaestro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-27T07:51:08.000Z","updated_at":"2026-01-12T16:01:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"46672e15-225d-4b32-b301-f5168cacd43d","html_url":"https://github.com/experimaestro/impact-index","commit_stats":null,"previous_names":["experimaestro/impact-index"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/experimaestro/impact-index","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/experimaestro%2Fimpact-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/experimaestro%2Fimpact-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/experimaestro%2Fimpact-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/experimaestro%2Fimpact-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/experimaestro","download_url":"https://codeload.github.com/experimaestro/impact-index/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/experimaestro%2Fimpact-index/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30276606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-12-24T10:18:57.632Z","updated_at":"2026-03-08T23:03:02.666Z","avatar_url":"https://github.com/experimaestro.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Impact Index for Information Retrieval\n\nA Python/Rust library for efficient sparse retrieval from neural information retrieval systems. Built on Rust with PyO3 bindings for high performance.\n\nUnlike traditional IR libraries, **impact-index** specifically targets neural IR models with floating-point impact scores (no quantization assumed) and does not implement frequency-based algorithms.\n\n## Features\n\n- **Index construction** with checkpointing for crash recovery\n- **WAND and MaxScore** search algorithms for top-k retrieval\n- **Block-based compression** with Elias-Fano doc IDs and quantized impacts\n- **Posting list splitting** by quantile for term impact decomposition\n- **BMP (Block-Max Pruning)** for fast approximate search ([SIGIR 2024](https://github.com/pisa-engine/BMP))\n- **Document store** with zstd compression and key-based retrieval\n- **Async support** for non-blocking search and document retrieval\n\n## Installation\n\n```bash\npip install maturin\nmaturin develop --release\n```\n\n## Quick Example\n\n```python\nimport numpy as np\nimport impact_index\n\n# Build an index\nbuilder = impact_index.IndexBuilder(\"/path/to/index\")\nbuilder.add(0, np.array([1, 5, 10], dtype=np.uintp),\n            np.array([0.5, 1.2, 0.8], dtype=np.float32))\nindex = builder.build(in_memory=True)\n\n# Search\nresults = index.search_wand({5: 1.0, 10: 0.5}, top_k=10)\nfor doc in results:\n    print(f\"Document {doc.docid}: {doc.score}\")\n```\n\n## Documentation\n\nFull documentation including guides on compression, BMP search, and the document store is available at:\n\n**https://experimaestro-ir-rust.readthedocs.io/en/latest/index.html**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexperimaestro%2Fimpact-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexperimaestro%2Fimpact-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexperimaestro%2Fimpact-index/lists"}