JanusGraph / JanusGraph/janusgraph

textcontains with label constrict doesn't work

Open
#2,190 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/bug/possible
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

when I use g.V().has('name', textContains('a')) or g.V().hasLabel('company'),they all works well ,but if I combine these two conditions,
I always get no results. for example g.V().hasLabel('company').has('name', textContains('a')) . although all my vetex labels are company, I got zero count in result.
Could someone helps me out please ?Since it's really very important for me

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the three Gremlin traversals shown in the issue and compare the results of the individual and combined conditions. Review the 13-comment thread for any additional reproduction details, then define done as the combined label and textContains query returning the expected matching vertices.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.