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
Get Mini Search version? #251
Comments
Hi @oiver555 , MiniSearch also tries to avoid breaking changes to the serialization format, even upon major version changes. So far, version That said, it might be useful to obtain the current version from the MiniSearch instance, as you propose. I will look into it for the next update. Thanks for opening the issue! |
Understood, thanks for the response and protocol |
I'm using Minisearch in my app, which was published about a year or two ago. I just made an update of the app a few days ago, updating Minisearch to version 5.0.0, everything works fine however, I notice users get this error...
Fatal Exception: com.facebook.react.common.JavascriptException: Error: MiniSearch: cannot deserialize an index created with an incompatible version
...when using the old index from the old version of my app, in the updated version of my app. Is there a way I can obtain the version of Minisearch from it's instance, so that I can make a new index when the conditions require it. Or maybe you have a better solution? Thank you for your time and help!
The text was updated successfully, but these errors were encountered: