Skip to content
Discussion options

You must be logged in to vote

That's a good feature request and shouldn't be hard to implement if we agree on the interface itself.

Potentially, we could introduce some internal parameters that can be used in Gremlin queries.
For example:

g.V().or(
  has('Name',textContainsPrefix("ProjectA")),
  has('Topic',textContainsPrefix("ProjectA"))
  has('Desc',textContainsPrefix("ProjectA"))
).order().by(MixedIndex.score(), desc)

In this case we would probably need an optimization strategy that checks validity of such parameters usage (if the previous steps are merged into the mixed index or not) and adds metadata information to indexes usage. In all other cases we should probably raise the exception as the query becomes inva…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@porunov
Comment options

Answer selected by muxalko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants