[英]Store JSON files in local storage and implement full text search in flutter
I want to implement mobile app which will work without internet so that's why I have to store data in local storage.我想实现可以在没有互联网的情况下运行的移动应用程序,这就是我必须将数据存储在本地存储中的原因。 I have some nested json files.
我有一些嵌套的 json 文件。 Also I have to implement search feature to search data like full text search from these json files.
我还必须实现搜索功能来从这些 json 文件中搜索全文搜索等数据。 I am using flutter to create this app.
我正在使用 flutter 创建这个应用程序。 Which database should I use to do above mentioned things.
我应该使用哪个数据库来做上述事情。
I tried to use HIVE.我尝试使用 HIVE。 I am able to store json files in it but there is no feature for full text search in it.
我可以在其中存储 json 文件,但其中没有全文搜索功能。 How should I implement full text search for Hive.
我应该如何实现 Hive 的全文搜索。
you can use isar database it has full-text search feature and it's from the same author of hive您可以使用具有全文搜索功能的isar数据库,它来自hive的同一作者
check this https://isar.dev检查这个https://isar.dev
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.