JanusGraph / JanusGraph/janusgraph

Is this a bug for full-search?

Open
#702 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

> gremlin> g.V().hasLabel("company").has("company_name", textContains("四川")).count()
==>1
gremlin> g.V().has("company_name", textContains("四川")).count()
==>107
gremlin>
gremlin>
gremlin> g.V().has("company_name", textContains("四川")).label()
==>company
==>company
==>company
==>company
==>company
==>company
==>company
==>company
==>company
==>company
==>company
==>company
==>company

---------------------------------------------------------
They are all company label. Why just has one.
(Hbase + Elastic Search, TextMapping, IK)

Contributor guide

Open the contributing guide

Research direction

No repository files, tests, versions, or entry points are identified. Start by reproducing the two Gremlin queries with the reported HBase, Elasticsearch, TextMapping, and IK setup, then trace how label filtering is applied to the full-text result. Done means explaining why the counts differ or documenting a confirmed fix with a reproducible test.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.