Hi,
I view Gremlin as a first class query language. As such it is more
concerned with what than how.
I reckon
String.contains
String.startsWith
String.endsWith
and some form of regular expression
is so common it would be expected for any query language.
A quick check on neo4j cypher and orientdb sql both support the above.
Cypher also has a case sensitive toggle/expression. Not sure about
Orientdb, probably a 'upper() + like %'
The above predicates have no need for an index. If an index can be used
all the better but either way it should work.
Thanks
Pieter
On 17/08/2015 16:10, Daniel Kuppitz wrote:
See: [TinkerPop3] Blueprints3 -- Push Down Predicates All Up in Yo' Face
<https://groups.google.com/d/msg/gremlin-users/ls4FD5r43Iw/AIFFCMyi3EQJ>
On Mon, Aug 17, 2015 at 4:08 PM, Daniel Kuppitz <[email protected]> wrote:
Because every vendor handles text comparisons differently. Some allow
regular expressions, others don't. Some vendors do case-sensitive matches,
others case-insensitive, etc.
Cheers,
Daniel
On Mon, Aug 17, 2015 at 12:55 PM, Stephen Mallette <[email protected]>
wrote:
I don't remember why we didn't have predicates for "text" searches?
Marko,
do you remember?
On Tue, Aug 11, 2015 at 3:35 PM, pieter <[email protected]> wrote:
Hi,
Going through the gremlin Predicates I do not see one that is for doing
full text searches.
Have I missed it or is omitted on purpose?
Having both case sensitive and non case-sensitive searches is a common
requirement.
Thanks
Pieter