我有一个应用程序,它在数据库中存储简短的描述性数据,在文本文件中存储大量相关的文本数据。
我想为数据库添加“高级搜索”。我正在考虑像 JIRA 那样添加自己的查询语言(Jira 查询语言)。然后我考虑对这些文本文件进行全文搜索(优先级较低)。
想知道哪种工具更适合我更快、更简单地实现这一点。
我最重要的是希望为用户提供编写自己的查询的能力,而不是使用元素来指定搜索过滤器。
谢谢
UPD。我将日期保存在数据库中,大多数 varchar 字段都包含一个单词字符串。
UPD2。现在正在使用 Apache Derby。
I have an application which stored short descriptive data in DB and lots of related textual data in text files.
I would like to add "advanced search" for DB. I was thinking about adding own query language like JIRA does (Jira Query Language). Then I thought about having full text search across those textual files (less priority).
Wondering which tool will better suite me to implement that faster and simpler.
I most of all I want to provide users with ability to write their own queries instead of using elements to specify search filters.
Thanks
UPD. I save dates in DB and most of varchar fields contain one word strings.
UPD2. Apache Derby is used right now.
发布评论
评论(1)
看一下 Grails 的可搜索插件。
http://www.grails.org/plugin/searchable
Take a look at the Searchable plugin for Grails.
http://www.grails.org/plugin/searchable