cayley icon indicating copy to clipboard operation
cayley copied to clipboard

Text Search

Open robertmeta opened this issue 9 years ago • 5 comments

I think have FTS (Full Text Search) is a great feature to add after types get merged and are ready to go. Some of the FTS queries could lean on native stuff (like PostgreSQL FTS) and some could leverage Bleve or similar.

robertmeta avatar Jul 06 '16 14:07 robertmeta

What will the API looks like? cayley --fts and if I use bolDB it will use Belve and If I use postgresQL it will use postgres's built in FTS?

Also, can you give an example of using it with the query syntax of Cayley?

oren avatar Jul 06 '16 15:07 oren

I think it is a bit early to worry about implementation details or syntax, but it would be mostly stolen from @dennwc's work so like g.V("bob").In("follows").Filter(fts("cat /w3 dog")).All()

robertmeta avatar Jul 06 '16 15:07 robertmeta

Moved to feature request section: https://discourse.cayley.io/t/full-text-search/206

robertmeta avatar Jul 09 '16 23:07 robertmeta

+++ Looking forward to this feature. I have been using bleve , and I can say it is now a mature FTS. With the latest PR (on newest scorch index format ), they have managed to get the size of the index at the same size as other indexing libs :
https://github.com/blevesearch/bleve/pull/1277

hubyhuby avatar Nov 14 '19 10:11 hubyhuby

I'm going to start working on this soon.

iddan avatar Nov 14 '19 11:11 iddan