Lucene does not support index on char property #3144
Unanswered
InverseIntegral
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I guess it is intended behaviour. char/Character is more of a java thing that is not easily transferrable to other programming languages. So, it is the responsibility of the application to convert the char to a string or integer. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently using JanusGraph InMemory with Lucene as an index backend. When I want to create a mixed index on a
char
property, I get the following exception:I think the
Number.class.isAssignableFrom(dataType)
injanusgraph/janusgraph-lucene/src/main/java/org/janusgraph/diskstorage/lucene/LuceneIndex.java
Line 1012 in 543632f
evaluates to
false
. Is this intended behaviour? I would expect achar
to be an integer which can be indexed but maybe Lucene does not support this.Beta Was this translation helpful? Give feedback.
All reactions