简体   繁体   English

Grails:带有搜索插件的脚手架

[英]Grails : Scaffolding with Search plugin

I want to integrate search plugin(lucene) of grails with scaffolding feature 我想将grails的搜索插件(lucene)与脚手架功能集成在一起

Basically when we show list of records via scaffolding we want to make it searchable by using search plugin. 基本上,当我们通过脚手架显示记录列表时,我们希望使用搜索插件使其可搜索。

Anyone knows how to do this ? 有人知道该怎么做吗? What we understand is there is different controller for search and scaffolding hence it might not be possible. 我们了解到,存在用于搜索和脚手架的不同控制器,因此可能无法实现。

Example code link will be helpful. 示例代码链接将很有帮助。

Have you taken a look at the fields plugin. 您是否看过fields插件。 That may allow you some of what you are looking for. 这可能会允许您一些所需的内容。

http://grails.org/plugin/fields http://grails.org/plugin/fields

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM