compass.pipeline.search.persistence.write_search_manifest_shard#
- async write_search_manifest_shard(manifest_dir, se_results, jurisdiction)[source]#
Write one jurisdiction’s existing search result shard format
- Parameters:
out_dir (path-like) – Directory for search result shards.
se_results (
dict) – Search results for one jurisdiction.jurisdiction (
compass.utilities.jurisdictions.Jurisdiction) – Jurisdiction represented by the results.
- Returns:
pathlib.Path– Written shard path.