您的位置:首页 > 其它

jeecms 2012 源码分析(6) lucene 检索分析

2014-05-04 21:26 441 查看
首页点击查询

进入SearchAct

[java]
view plaincopy

@RequestMapping(value = "/search*.jspx", method = RequestMethod.GET)
public String index(HttpServletRequest request,

返回到搜索结果页.html

转载请标识出处 by chenbo:/article/2918314.html

[html]
view plaincopy

[@cms_lucene_page q=q channelId=channelId descLen='100' append='...' count='10']

通过标签访问后台LuceneDirectivePage

[java]
view plaincopy

@SuppressWarnings("unchecked")
public void execute(Environment env, Map params, TemplateModel[] loopVars,
TemplateDirectiveBody body)

转载请标识出处 by chenbo:/article/2918314.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: