Date
1 - 2 of 2
Lucene index inconsistency
inverseintegral42@...
Hey everyone, I'm currently running janusgraph-inmemory with janusgraph-lucence both version 0.6.2And I'm experiencing strange behaviour when creating an index that contains an underscore in its name. Whenever I run the following code: PropertiesConfiguration conf = ConfigurationUtil.loadPropertiI get the following output: I get the following output:Wouldn't it be better to disallow the creation of the index in the first place? After the creation all queries seem to fail with the same PermanentBackendException. Also I don't quite understand why underscores are not allowed in index names. Maybe this is a limitation of Lucene
|
|
hadoopmarc@...
I agree. If you start out with an empty graph, the Lucene index is not created until you add the first vertex. It is not easy to find why Lucene would only allow alphanumeric characters for names of indices (implicit assumption in the JanusGraph Preconditions check) and whether this still holds for the currently used version of Lucene.
toggle quoted message
Show quoted text
If you want, you can create an issue for it or even provide a PR. Best wishes, Marc On Fri, Jul 15, 2022 at 12:43 PM, @inverseintegral wrote:
Invalid store name |
|