New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different search result after persist and restore database index #695
Comments
Hi @gdeak-monguz, |
How can I do this? I tried to create a new database instance with the same schema and components (tokenizer -> stemmer and stopwords) and use insertMultiple function with this new instance and the persist database index, but it still does not work. |
Describe the bug
I created a database and persisted it with @orama/plugin-data-persistence plugin. After restoring the index from JSON string the search result was diffirent, than the search before persisting it.
To Reproduce
With the following code the bug could be reproduced:
package.json
index.js
Expected behavior
After restoring the database, I expected the same search results as before persistence.
Environment Info
Affected areas
Search
Additional context
No response
The text was updated successfully, but these errors were encountered: