如何在xpages中的FT搜索中进行精确匹配 [英] How to do Exact match in FT search in xpages

查看:87
本文介绍了如何在xpages中的FT搜索中进行精确匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在xpage视图面板(版本8.5.2)中使用了完全匹配搜索.但是我无法使它正常工作.我使用了以下代码Field EmpName="Kumar".当我搜索Kumar时,返回Empname的ft搜索包含"Kumar Vijay".

I used exact match search in in xpage view panel(Version 8.5.2). But I could not get it to work. I used the following code Field EmpName="Kumar". When I search Kumar, The ft search returning Empname contains "Kumar Vijay".

推荐答案

这就是FT索引和搜索的工作方式.在该项目中找到了您搜索的单词,这就是它被返回的原因.例如,您需要使用查看面板"中的keys属性进行完全匹配.

That's the way FT indexing and search work. The word you searched for is found in the item and that's why it is returned. You'll need to use for example the keys property in View Panel for exact match.

这篇关于如何在xpages中的FT搜索中进行精确匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆