No project description provided
Project description
Impact Index for Information Retrieval
A Python/Rust library for efficient sparse retrieval from neural information retrieval systems. Built on Rust with PyO3 bindings for high performance.
Unlike 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.
Features
- Index construction with checkpointing for crash recovery
- WAND and MaxScore search algorithms for top-k retrieval
- Block-based compression with Elias-Fano doc IDs and quantized impacts
- Posting list splitting by quantile for term impact decomposition
- BMP (Block-Max Pruning) for fast approximate search (SIGIR 2024)
- Document store with zstd compression and key-based retrieval
- Async support for non-blocking search and document retrieval
Installation
pip install maturin
maturin develop --release
Quick Example
import numpy as np
import impact_index
# Build an index
builder = impact_index.IndexBuilder("/path/to/index")
builder.add(0, np.array([1, 5, 10], dtype=np.uintp),
np.array([0.5, 1.2, 0.8], dtype=np.float32))
index = builder.build(in_memory=True)
# Search
results = index.search_wand({5: 1.0, 10: 0.5}, top_k=10)
for doc in results:
print(f"Document {doc.docid}: {doc.score}")
Documentation
Full documentation including guides on compression, BMP search, and the document store is available at:
https://experimaestro-ir-rust.readthedocs.io/en/latest/index.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file impact_index-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: impact_index-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6d29c27689f95927840411933f2be12122df5b69daba2a2227ca342892b57f7
|
|
| MD5 |
9b0411475b7fa50ed89d66e7f52ddcdf
|
|
| BLAKE2b-256 |
04a630f0c25a0c6a4af9a905981114b28e118ccf5b5b3b1762c47a7c72ab23d3
|
Provenance
The following attestation bundles were made for impact_index-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on experimaestro/impact-index
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
impact_index-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
d6d29c27689f95927840411933f2be12122df5b69daba2a2227ca342892b57f7 - Sigstore transparency entry: 1101596029
- Sigstore integration time:
-
Permalink:
experimaestro/impact-index@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/experimaestro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Trigger Event:
release
-
Statement type:
File details
Details for the file impact_index-1.1.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: impact_index-1.1.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a0dfec172f1f511b07cad93f6dd27196302f34fc3daaed74368d54afe3d13d5
|
|
| MD5 |
a97b611249f4c60e1bcb41d40a357a5c
|
|
| BLAKE2b-256 |
344d7661c45b38195c1dc1083c6cd54ec3e2b7512d8c7b2969e01374e86b693d
|
Provenance
The following attestation bundles were made for impact_index-1.1.0-cp311-cp311-macosx_11_0_arm64.whl:
Publisher:
release.yml on experimaestro/impact-index
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
impact_index-1.1.0-cp311-cp311-macosx_11_0_arm64.whl -
Subject digest:
5a0dfec172f1f511b07cad93f6dd27196302f34fc3daaed74368d54afe3d13d5 - Sigstore transparency entry: 1101596097
- Sigstore integration time:
-
Permalink:
experimaestro/impact-index@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/experimaestro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Trigger Event:
release
-
Statement type:
File details
Details for the file impact_index-1.1.0-cp311-cp311-macosx_10_12_x86_64.whl.
File metadata
- Download URL: impact_index-1.1.0-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68f7d94b115046d84a10f4879abcc3d5033fd4b7058198708da5d3a9a3676cc7
|
|
| MD5 |
b60177d935d7b8b0ff254928e18044f5
|
|
| BLAKE2b-256 |
a009f688eb2584a59957eaf724292ec78c82d44e12adcd1f6967510736c1deeb
|
Provenance
The following attestation bundles were made for impact_index-1.1.0-cp311-cp311-macosx_10_12_x86_64.whl:
Publisher:
release.yml on experimaestro/impact-index
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
impact_index-1.1.0-cp311-cp311-macosx_10_12_x86_64.whl -
Subject digest:
68f7d94b115046d84a10f4879abcc3d5033fd4b7058198708da5d3a9a3676cc7 - Sigstore transparency entry: 1101595633
- Sigstore integration time:
-
Permalink:
experimaestro/impact-index@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/experimaestro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Trigger Event:
release
-
Statement type:
File details
Details for the file impact_index-1.1.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: impact_index-1.1.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f0ad7d33b6f36b9110982070d79753d54f37c96307323bf5013330bab009ce8
|
|
| MD5 |
d258bf1f65812b66dfc33711e50c9fd7
|
|
| BLAKE2b-256 |
853b858326e96a6c03feef9bc271b819a43b8f7b017b8a74299595b25e22b5c1
|
Provenance
The following attestation bundles were made for impact_index-1.1.0-cp310-cp310-win_amd64.whl:
Publisher:
release.yml on experimaestro/impact-index
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
impact_index-1.1.0-cp310-cp310-win_amd64.whl -
Subject digest:
9f0ad7d33b6f36b9110982070d79753d54f37c96307323bf5013330bab009ce8 - Sigstore transparency entry: 1101595977
- Sigstore integration time:
-
Permalink:
experimaestro/impact-index@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/experimaestro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Trigger Event:
release
-
Statement type:
File details
Details for the file impact_index-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: impact_index-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7e99b431cd9e578f45eb8ef81458f4cf4bf60b1b2ee5b4a1d21e1aac77e5bc2
|
|
| MD5 |
23dc20a2f410f37ed39b4d983936c88f
|
|
| BLAKE2b-256 |
f7c313271ce95fde0ed4fe0b98aba2e9128a5229143d3c56f32aae807f314861
|
Provenance
The following attestation bundles were made for impact_index-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on experimaestro/impact-index
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
impact_index-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
c7e99b431cd9e578f45eb8ef81458f4cf4bf60b1b2ee5b4a1d21e1aac77e5bc2 - Sigstore transparency entry: 1101595769
- Sigstore integration time:
-
Permalink:
experimaestro/impact-index@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/experimaestro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Trigger Event:
release
-
Statement type:
File details
Details for the file impact_index-1.1.0-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: impact_index-1.1.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
461f52bf224bb2ec2084c3138eb11675c27a01d629de7a7960f71e27570128cd
|
|
| MD5 |
2f2af1e16c3cbd0296a1b434236912cb
|
|
| BLAKE2b-256 |
00f18e5e0627f02e976dc505db404c4646a7377d4c65ae2c1ce4eae0acadd52a
|
Provenance
The following attestation bundles were made for impact_index-1.1.0-cp310-cp310-macosx_11_0_arm64.whl:
Publisher:
release.yml on experimaestro/impact-index
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
impact_index-1.1.0-cp310-cp310-macosx_11_0_arm64.whl -
Subject digest:
461f52bf224bb2ec2084c3138eb11675c27a01d629de7a7960f71e27570128cd - Sigstore transparency entry: 1101595820
- Sigstore integration time:
-
Permalink:
experimaestro/impact-index@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/experimaestro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Trigger Event:
release
-
Statement type:
File details
Details for the file impact_index-1.1.0-cp310-cp310-macosx_10_12_x86_64.whl.
File metadata
- Download URL: impact_index-1.1.0-cp310-cp310-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.10, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebd23fdffebf32521e69ea16a4d9b3d197fdc5d844e45c45a674820648dffafc
|
|
| MD5 |
a6204e87d87230687da67779c4d98375
|
|
| BLAKE2b-256 |
8e9d046c4f4f979e32b4deb5f08a97bd34ed0c27f6f6df976a8c48b737dcbd42
|
Provenance
The following attestation bundles were made for impact_index-1.1.0-cp310-cp310-macosx_10_12_x86_64.whl:
Publisher:
release.yml on experimaestro/impact-index
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
impact_index-1.1.0-cp310-cp310-macosx_10_12_x86_64.whl -
Subject digest:
ebd23fdffebf32521e69ea16a4d9b3d197fdc5d844e45c45a674820648dffafc - Sigstore transparency entry: 1101595684
- Sigstore integration time:
-
Permalink:
experimaestro/impact-index@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/experimaestro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@38ee35a010d35bf31d94a842eaa285fb5fef5984 -
Trigger Event:
release
-
Statement type: