Find answers from the community

Updated last year

If I load index from storage for faster

If I load index from storage for faster startup, then how to update that index if there is new documents in folder? I need to load documents everytime and check is there new docs and need to refresh index?
L
А
6 comments
index.insert(document)
or index.refresh?
Or refresh will check only changes in already indexed documents
Before inserting, I should find newly added document in storage by myself?
can I make index with chat messages persistant. But index with documents refresh everytime I start bot?
If so, how to merge 2 indexes before bot start?
Add a reply
Sign up and join the conversation on Discord