# Record$Manager VectorStore

**URL:** <https://forum.langchain.com/t/record-manager-vectorstore/1609>\
**Category:** LangChain\
**Tags:** python-help\
**Created:** [September 22, 2025, 5:43am UTC](https://forum.langchain.com/t/record-manager-vectorstore/1609 "2025-09-22T05:43:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DivyanshJain0001](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@DivyanshJain0001](https://forum.langchain.com/u/DivyanshJain0001)\
**Post date:** [September 22, 2025, 5:43am UTC](https://forum.langchain.com/t/record-manager-vectorstore/1609/1 "2025-09-22T05:43:23Z")

</div>

I’m trying to use LangChain’s record\_manager together with the indexing API to keep my FAISS vector store in sync, instead of doing a full refresh each time.

Here’s my approach:

I set up a SQLRecordManager with SQLite and can see that the record\_manager\_cache is getting updated correctly.

I run initial indexing with some documents and persist the FAISS vector store to disk.

Later, I update one document (doc1), insert a new one (doc3), and remove another (doc2) using index(…, cleanup=“incremental”).

Problem: while the record manager database reflects the updates, the FAISS vector store still contains the old documents (it doesn’t seem to delete/update as expected).

Question: How can I properly keep my FAISS vector store in sync with the record manager so that updates and deletions are reflected?

Here’s a snippet of my setup (simplified):

vector\_store = load\_or\_create\_vectorstore(persist\_dir, embeddings)

record\_manager = SQLRecordManager(namespace, db\_url=RECORD\_MANAGER\_DB\_URL)

record\_manager.create\_schema()

# Initial indexing

index(

```
docs_source=initial_documents,

record_manager=record_manager,

vector_store=vector_store,

cleanup=None,

source_id_key="source",

```

)

vector\_store.save\_local(FAISS\_PERSIST\_DIR)

# Later: update + insert + delete

index(

```
docs_source=new_documents,

record_manager=record_manager,

vector_store=vector_store,

cleanup="incremental",

source_id_key="source",

```

)

Has anyone successfully done this with FAISS? Am I missing a step to apply the record\_manager changes back into the vector store?
