in-process search-engine for python
Project description
hashedixsearch
hashedixsearch is a lightweight in-process search engine for Python, with support for stemming, synonyms, custom token analyzers, and query match highlighting.
Usage
from hashedixsearch import HashedIXSearch
index = HashedIXSearch(synonyms={'search': 'find'})
index.add(
doc_id=1,
doc='find the needle in the haystack'
)
results = index.query_batch(['search'])
for query, hits in results:
print(f'{query}: {hits}')
Tests
To run the hashedixsearch test suite:
$ python -m unittest
This library uses hashedindex for tokenization and indexing.
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 Distribution
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 hashedixsearch-1.0.5.tar.gz.
File metadata
- Download URL: hashedixsearch-1.0.5.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.7 Linux/5.9.0-5-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4666b3fab6318541db2988805bb1a82916e8cf71ec4735b7ca3280627086b46d
|
|
| MD5 |
81b667314a4ad99e716d44a364b664a0
|
|
| BLAKE2b-256 |
5b7ac83ef6ba5d39f6df53bcc3878cea613014fd83999d1135d270be3e7bfd77
|
File details
Details for the file hashedixsearch-1.0.5-py3-none-any.whl.
File metadata
- Download URL: hashedixsearch-1.0.5-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.7 Linux/5.9.0-5-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0fc84575df512dbf44b937153403d41f1626a3412efc06b9cd87b2e570fd424
|
|
| MD5 |
434731683e93bf10e9a74c2b1123a364
|
|
| BLAKE2b-256 |
bde6b31caf6c5a43890a7b7ffb9455c6d72137260d07b082ee5c00db6283cc42
|