简单的应用程序数据存储解决方案
寻找一种可以在我的 Java 应用程序中分发的一体化解决方案,以将少量数据存储为记录。这些数据可能会随着时间的推移而变化,并且会经常更新。它存储书籍信息 - 作者、流派、标题、评级等。
我希望有一些东西可以让我在特定的表上进行全文搜索,搜索是至关重要的。
除了搜索能力之外,唯一真正的要求是最少的设置,我不希望 MySQL 等作为服务运行,因此该解决方案需要最终用户的关注最少。
到目前为止,我一直在研究 SQLLITE。
至于搜索对我来说是全新的,我做这个项目的原因之一是我可以了解它。
如有任何反馈,我们将不胜感激。
Looking for an all in one solution that I can distribute within my Java application to store a small amount of data as records. This data can change over time and will be updated frequently. It stores book information - author, genre, title, rating etc.
I would like to have something that will allow me to look into full text searching on a particular table, searching is something that will be crucial.
The only real requirement outside of the searching abilities is minimal setup, I dont expect MySQL etc to be running as a service, so the solution needs minimal attention form the end user.
So far I have been looking at SQLLITE.
As for the searching its totally new to me, one of the reasons I am doing this project is so I can learn about it.
Any feedback is appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你可以看一下HSQLDB,它是最接近sqlite的,而且非常简单(有三种存储:内存中、本地文件中、远程服务器中)。
它可以与 apache Lucene 一起进行全文搜索。
You can look at HSQLDB that is the closest thing to sqlite, and is very simple (there are three storage: in memory, in a local file, in a distant server).
It can works with apache Lucene to get a full text search.