imbajin commented on issue #2572:
URL:
https://github.com/apache/incubator-hugegraph/issues/2572#issuecomment-2245440570
> @imbajin @dosu 尝试了一下`g.V().hasLabel("person").has("like",
Text.contains("doge"))` 这种不行,关键字必须是分词后的单词,不一定能命中,另外一种基于filter的可以:
>
> ```
> g.V().filter{ it.get().value("name").contains("Template") }
> ```
>
> 最终有效的语句:
>
> ```
> g.V().filter{ it.get().value("name").contains("Template") }
> ```
>
> 或者
>
> ```
> g.V().filter(values("name").is(Text.contains("Template")))
> ```
Thanks for the feedback, u could refer #294 #779 #1619 to build
`full-context-search` index & try to enhance/DIY it
Also need to know that the `filter()` step should work in a [small
data](https://github.com/apache/incubator-hugegraph/issues/372#issuecomment-468593740)
size
PS: @dosu why u don't refer the legacy/closed issues for user questions now?
And better to show link directly
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]