在阿帕奇TinkerPop3.4版本,最让人期待的特性就是增加了新的谓词,它们有助于进行文本搜索。
Probably one of, if not the, most anticipated features in Apache TinkerPop version 3.4 was the
addition of new "predicates" that aid in performing more focused text searches.
文本谓词的更多信息可以从阿帕奇TinkerPop文档中找到。位置是http://tinkerpop.apache.org/docs/current/reference/#a-note-on-predicates
Additional information on the text predicates can be found in the official Apache
TinkerPop documentation here: http://tinkerpop.apache.org/docs/current/
reference/#a-note-on-predicates
总计6个新的谓词加到了小精灵查询语言中。其中三个是用于指示搜索在文本的字符串中存在一个或多个字符,三个是用于不存在一个或多个字符。
In total, six new predicates were added to the Gremlin query language. There are three predicates
that search for the existence of one or more characters within a string of text and three that search
for the non existence of one or more characters.
在本节下面的内容中,您将会找到每个谓词使用的例子。每个谓词都是大小写敏感的,在使用它们的时候一定要记得。要做大小写敏感的检索,您可以把多个步骤用一个or步骤组合在一起。
In the sections below you will find examples of each predicate being used. Each predicate is case
sensitive so bear that in mind as you use them. To do a case insensitive search you can chain
multiple steps together combined by an or step.
所有这些谓词都是大小写敏感的。这现谓词加到已的的小精灵谓词中,我们可以在“测试值和值的范围”这一节中看到。
All of these predicates are case sensitive.
These predicates add to the existing Gremlin predicates that we looked at in the Testing values and
ranges of values section.
浙公网安备 33010602011771号