Code Wines
Code Wines

Reputation: 241

Does AWS Neptune support text search and sorting with Gremlin?

I'm using AWS Neptune with Gremlin. Is there a way of using wildcard for search like ' % title % ' & sorting something with order by asc / desc ?

Upvotes: 1

Views: 644

Answers (2)

yigit
yigit

Reputation: 116

Now you can also plug Neptune to the Elastic Search for enhanced Full-text search capabilities: https://docs.aws.amazon.com/neptune/latest/userguide/full-text-search.html

Upvotes: 2

Kelvin Lawrence
Kelvin Lawrence

Reputation: 14371

Neptune supports Order().by() you just need to use the ‘incr’ and ‘decr’ Keywords.

There is currently no wildcard support. You can simulate a starts with semantic using the between() step however.

Additional text predicates are being added to ApacheTinkerpop in an upcoming release and this is definitely recognized as a common use case. I expect to see additional text support added to Neptune over time as well.

UPDATED (November 17th 2019) :

Amazon Neptune now supports the Apache TinkerPop 3.4.1 release. This release added additional text predicates such as startingWith, endingWith and containing to the Gremlin language.

Cheers Kelvin

Upvotes: 2

Related Questions