Catalog Management
Crawl links
neodb-manage cat [--save] <url> # parse / save a supported link
neodb-manage crawl <url> # crawl all recognizable links from a page
Data Management
neodb-manage catalog integrity: Check and fix integrity issues for merged and deleted items- Use
--fixto automatically fix issues -
Example:
neodb-manage catalog integrity --fix -
neodb-manage catalog purge: Purge deleted items from the database - Use
--fixto actually perform the deletion -
Example:
neodb-manage catalog purge --fix -
neodb-manage catalog migrate: Run specified migration scripts - Requires
--nameto specify which migration to run - Example:
neodb-manage catalog migrate --name merge_works - Available migrations:
merge_works: Merge work items (2025-03-01)fix_deleted_edition: Fix soft deleted edition items (2025-02-08)fix_bangumi: Fix Bangumi-related items (2025-04-20)
Search
neodb-manage catalog search: Search items in the index- Use
--queryto specify the search query -
Example:
neodb-manage catalog search --query "Harry Potter" -
neodb-manage catalog extsearch: Search external sites - Use
--queryfor search terms and--categoryto filter by category - Example:
neodb-manage catalog extsearch --query "Inception" --category movie
Index Management
neodb-manage catalog idx-info: Show information about the search index-
Example:
neodb-manage catalog idx-info -
neodb-manage catalog idx-init: Check and create the index if it doesn't exist -
Example:
neodb-manage catalog idx-init -
neodb-manage catalog idx-destroy: Delete the entire search index - Requires confirmation or
--yesflag -
Example:
neodb-manage catalog idx-destroy --yes -
neodb-manage catalog idx-alt: Update index schema (currently not implemented) -
neodb-manage catalog idx-delete: Delete all documents in the index -
Example:
neodb-manage catalog idx-delete -
neodb-manage catalog idx-reindex: Rebuild the search index - Use
--batch-sizeto specify how many items to process at once -
Example:
neodb-manage catalog idx-reindex --batch-size 500 -
neodb-manage catalog idx-get: View one document in the index - Requires
--urlto specify which item to retrieve - Example:
neodb-manage catalog idx-get --url "https://example.com/item/123"