JanusGraph / JanusGraph/janusgraph

Unicode query String containing special character is truncated and query with non special character is sent for quering solr Indexing backend

Open
#1,147 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

index/solr storage/cassandra
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

I am running janusgraph with cassandra as storage backend and solr as Indexing backind .When I index unicode string with UTF-8 character sequenc it is successfully store and index but when searching the query string is truncated before it is sent to solr server from janusgraph server

my query looks like this
g.V().has('contentNepali',textContains('आइतबार'))

but query string becomes "आइतब" when the request goes from janusgraph to solr
I have seen the query string in janusgraph log

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 Gremlin query with the Nepali text and compare the JanusGraph log with the request sent to the Solr indexing backend. Trace the query-handling path that truncates the Unicode string; done means the complete query reaches Solr without losing characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.