Search indices backed by Rust
Project description
Python package implementing search indices backed by Rust
Installation
Make sure you have Faiss installed.
Install from PyPI (only built for Python 3.12+ on Linux)
pip install search-index
Manual installation
Make sure you have Faiss and Rust installed, then do the following:
git clone https://github.com/bastiscode/search-index.git
cd search-index
pip install maturin[patchelf]
maturin develop --release
Usage
See build.py and query.py for examples on how to build and query an index.
Search indices
Prefix keyword index with one of the following score functions:
- keyword occurrence
Similarity index with one of the following index types:
- flat index (brute-force search)
- inverted index (bucket search)
- inverted index + HNSW
Both search indices also support searching only in a subset of the indexed records.
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 Distribution
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 search_index-0.4.2-cp312-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: search_index-0.4.2-cp312-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 711.3 kB
- Tags: CPython 3.12+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7aa7f01134de0559d55fcef746e9f3ea907b59656c361577872e384a5b4f76e
|
|
| MD5 |
7eb91f6e7d489d8fa4491a8584d42223
|
|
| BLAKE2b-256 |
7fa24ea8c0d1d295196139adf1a035aebf447cbee91fb24c5d0ce76ed7140f62
|