Usage
Arguments
Name of the library to remove
Options
Version to remove (optional). If omitted, removes the latest version.
URL of external pipeline worker RPC endpoint (e.g.,
http://localhost:8080/api).When specified, removes documentation from the remote worker.Examples
Remove Latest Version
Remove Specific Version
Remove from Remote Worker
Output
Successful removal:Behavior
Version Not Specified
When no version is provided, the command removes the latest indexed version:Multiple Versions
The command only removes the specified version. Other versions remain:Complete Removal
To remove all versions, run the command for each version:Permanent Deletion
Removal is permanent and cannot be undone. To restore:Error Handling
Library Not FoundUse Cases
Free Up Storage
Remove old or unused versions:Clean Before Re-scraping
Remove and re-index to ensure fresh data:The scrape command with
--clean (default) automatically removes existing data before scraping, so explicit removal is usually not necessary.Remove Incorrect Data
Fix scraping mistakes:Performance
Theremove command is fast and does not require embedding model initialization. It only deletes records from the document store.
Removal time depends on the number of documents:
- Small libraries (< 100 pages): < 1 second
- Medium libraries (100-500 pages): 1-3 seconds
- Large libraries (> 500 pages): 3-10 seconds
