开发者

grails how to search in domain classes

I have User domain class and few 开发者_JS百科domain classes associated with it. I want to be able to search in my domain classes, and as result get all users associated with keyword.

(for example if I type "eng", it have to search in user, languages, hobbies ... domain classes fields values, and get all users objects associated with those classes).

Who know any good way for this?

I have tried to search with searchable plugin, but it does not work for hbase.

I use grails-1.3.2 and hbase-0.2.4


You will probably have to create your own Compass integration since the hbase plugin replaces the standard Hibernate plugin. You should start with the Searchable plugin source code to get a head start.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜