В настоящее время я пытаюсь создать схему графа для определенного узла, чтобы выполнять запросы к нему.Я попытался выполнить пример, показанный здесь , и столкнулся с ошибкой, указанной в заголовке.
Созданы ключи свойства
schema.propertyKey('id').Text().ifNotExists().create()
schema.propertyKey('name').Text().ifNotExists().create()
schema.propertyKey('age').Int().ifNotExists().create()
schema.propertyKey('location').Point().withGeoBounds().ifNotExists().create()
schema.propertyKey('gender').Text().ifNotExists().create()
schema.propertyKey('dob').Timestamp().ifNotExists().create()
Используется схема
schema.vertexLabel("people_node").index("search").by("name").asText().by("gender").by("location").by("dob").ifNotExists().add()
schema.vertexLabel("people_node").index("people_node_index").materialized().by("id").ifNotExists().add()
schema.vertexLabel("people_node").index("people_node_index")secondary().by("age").ifNotExists().add()
Пример данных
id, name , age, location , gender , dob
0, Betsy, 15 , POINT(10 15) , F , 1997-09-21T12:55:54+0400
Обнаружена ошибка
java.lang.IllegalArgumentException: Cannot create search index, node workdload is not compatible
Буду признателен за любые советы по решению этой проблемы.