Software Heritage search service
Project description
swh-search
Search service for the Software Heritage archive.
It is similar to swh-storage in what it contains, but provides different ways to query it: while swh-storage is mostly a key-value store that returns an object from a primary key, swh-search is focused on reverse indices, to allow finding objects that match some criteria; for example full-text search.
Currently uses ElasticSearch, and provides only origin search (by URL and metadata)
Dependencies
Python tests for this module include tests that cannot be run without a local ElasticSearch instance, so you need the ElasticSearch server executable on your machine (no need to have a running ElasticSearch server).
Debian-like host
The elasticsearch package is required. As it's not part of debian-stable, another debian repository is required to be configured
Non Debian-like host
The tests expect:
/usr/share/elasticsearch/jdk/bin/java
to exist.org.elasticsearch.bootstrap.Elasticsearch
to be in java's classpath.
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
Hashes for swh.search-0.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8b2be0a75b9a4f6db5ecc60d3fedf2e92cafb23b777598a18383e4c69e26bbf |
|
MD5 | a4f93832327f6d00d0059b45b14482d0 |
|
BLAKE2b-256 | ff3ae1497be367bdc67abe3eea8ab45c51354f9a72a86e66475160858d9b2328 |