Skip to content

How to index newly inserted data without reindexing the entire collection? #2164

Answered by blythed
martincpt asked this question in Q&A
Discussion options

You must be logged in to vote

@martincpt you should be able to just add the new data, and the VectorIndex will index only that data.

So simply add more data:

db['docs'].insert_many(new_data)

If the Listener was configured on the "docs" collection, then this data will be indexed only.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by blythed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants