Skip to content

About

Prebuilt Indexes for Anserini and Pyserini

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prebuilt Indexes for Anserini and Pyserini

This repository provides the source of truth for prebuilt indexes used by Anserini and Pyserini.

Browse indexes

Indexes are organized by backend and collection.

Browse index IDs, Hugging Face links, and locally stored index READMEs. Each collection links to its metadata JSON for descriptions, sizes, checksums, and download URLs:

For usage instructions, see Anserini and Pyserini. Available index IDs depend on the metadata version pinned by your installed software. Index files remain at their existing hosting locations.

Source metadata

  • Metadata for Lucene indexes is stored in lucene/.
  • Metadata for Faiss indexes is stored in faiss/.

Adding a prebuilt index

Publish the index artifact, register its metadata, and add its documentation to make it discoverable in the Lucene or Faiss catalog.

Publish index artifact (Hugging Face or another host)
    ↓
Add a README under docs/readmes/<backend>/
    ↓
Add index metadata with readme; regenerate manifests if needed
    ↓
Generate and check the catalog → Submit a pull request

Run all commands below from the repository root.

Updating the catalog

The catalog is generated from the metadata; do not edit its Markdown pages directly. Index READMEs are maintained directly in docs/readmes/. Each index's readme metadata field specifies its local README path relative to that directory. See README maintenance for adding or updating them. After changing metadata, regenerate it from the repository root:

python scripts/generate_catalog.py

To check generated pages without changing files:

python scripts/generate_catalog.py --check

Metadata manifests

Each metadata directory contains a manifest.json listing its metadata JSON filenames in sorted order, relative to that directory. The manifest excludes itself.

After adding, removing, or renaming metadata files, regenerate both manifests from the repository root:

python scripts/generate_manifests.py

To check that both manifests are up to date without modifying files:

python scripts/generate_manifests.py --check

This check also runs in GitHub Actions on pushes and pull requests.

About

Prebuilt Indexes for Anserini and Pyserini

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages