我正在执行搜索查询
<query>
<edu>college</edu>
<studies>mathematics</studies>
</query>
即使对于
是否可以按准确的文本值进行搜索?
最佳答案
为此,您应该在策略配置中为适当的标记使用精确匹配运算符 ==”” 和规则“exact-match=binary”。您的查询可能如下所示:
<query>
<team>college</team>
<studies>=="mathematics"</studies>
</query>
这将返回“studies”标签仅包含“mathematics”作为值而没有其他词的结果。
关于database - 如何在 Clusterpoint DB 中搜索全文匹配?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31253216/