@@ -23,10 +23,10 @@ CLI and REST API frontends to work seamlessly with different storage implementat
2323│ │ CLI Package │ │ Server Package │ │
2424│ │ (cli/) │ │ (server/) │ │
2525│ │ │ │ │ │
26- │ │ - iscc-vdb index │ │ - FastAPI app │ │
27- │ │ - iscc-vdb add │ │ - Route handlers │ │
28- │ │ - iscc-vdb search │ │ - Error handling │ │
29- │ │ - iscc-vdb delete │ │ - Sync endpoints │ │
26+ │ │ - iscc-search index │ │ - FastAPI app │ │
27+ │ │ - iscc-search add │ │ - Route handlers │ │
28+ │ │ - iscc-search search │ │ - Error handling │ │
29+ │ │ - iscc-search delete │ │ - Sync endpoints │ │
3030│ └──────────┬──────────┘ └──────────┬───────────┘ │
3131│ │ │ │
3232│ └────────────────┬───────────────────┘ │
@@ -142,7 +142,7 @@ indexes/
142142## Module Structure
143143
144144```
145- iscc_vdb /
145+ iscc_search /
146146├── __init__.py
147147│
148148├── protocol.py # IsccIndexProtocol definition
@@ -322,14 +322,14 @@ All methods are synchronous. Backends may use threading/connection pools interna
322322export ISCC_VDB_INDEXES_URI=/path/to/index_data
323323
324324# CLI commands
325- iscc-vdb create myindex
326- iscc-vdb add myindex /data/
327- iscc-vdb search myindex " ISCC:..."
328- iscc-vdb list
329- iscc-vdb delete myindex
325+ iscc-search create myindex
326+ iscc-search add myindex /data/
327+ iscc-search search myindex " ISCC:..."
328+ iscc-search list
329+ iscc-search delete myindex
330330
331331# Start API server with LMDB backend
332- uvicorn iscc_vdb .server.app:app --host 0.0.0.0 --port 8000
332+ uvicorn iscc_search .server.app:app --host 0.0.0.0 --port 8000
333333```
334334
335335### Memory Index (Testing)
@@ -339,12 +339,12 @@ uvicorn iscc_vdb.server.app:app --host 0.0.0.0 --port 8000
339339export ISCC_VDB_INDEXES_URI=memory://
340340
341341# CLI works with in-memory storage (no persistence)
342- iscc-vdb create myindex
343- iscc-vdb add myindex /data/
344- iscc-vdb search myindex " ISCC:..."
342+ iscc-search create myindex
343+ iscc-search add myindex /data/
344+ iscc-search search myindex " ISCC:..."
345345
346346# Start API server with in-memory index (for testing)
347- uvicorn iscc_vdb .server.app:app --host 0.0.0.0 --port 8000
347+ uvicorn iscc_search .server.app:app --host 0.0.0.0 --port 8000
348348```
349349
350350### Postgres Index (Future)
@@ -354,8 +354,8 @@ uvicorn iscc_vdb.server.app:app --host 0.0.0.0 --port 8000
354354export ISCC_VDB_INDEXES_URI=postgresql://user:password@localhost/isccdb
355355
356356# CLI and server work the same way across all backends
357- iscc-vdb create myindex
358- uvicorn iscc_vdb .server.app:app --host 0.0.0.0 --port 8000
357+ iscc-search create myindex
358+ uvicorn iscc_search .server.app:app --host 0.0.0.0 --port 8000
359359```
360360
361361## Key Benefits
0 commit comments