apache / apache/hugegraph

[Feature] support entire word match Text.contains("(word)")

Open
#1,649 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
3.2k
Forks
636
Avg merge
3d 11h
Merged PRs (30d)
14

Description

### Feature Description (功能描述)

如果需要搜『秦始皇』的时候,不出现『秦朝』这种记录(因为有的分词器包括『秦始皇』、『秦』这两个词),目前0.11版是不支持的,如果需要支持可进行增强,比如增加语法`Text.contains("(秦始皇)")`强制使用完整的"秦始皇"进行检索。

分词器效果可参考:https://github.com/hugegraph/hugegraph/issues/779#issuecomment-561492880

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.