栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

JanusGraph报错:Unknown external index backend

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

JanusGraph报错:Unknown external index backend

使用java连接JanusGraph进行创建图操作,报错地方是程序运行第50行代码其作用是生成混合索引,截图如下:

后在0.6版本官方文档发现有说明先贴一份截图:

具体说明如下:
The example above defines a mixed index containing the property keys name and age. The definition refers to the indexing backend name search so that JanusGraph knows which configured indexing backend it should use for this particular index. The search parameter specified in the buildMixedIndex call must match the second clause in the JanusGraph configuration definition like this: index.search.backend If the index was named solrsearch then the configuration definition would appear like this: index.solrsearch.backend.
意思就是buildMixedIndex这个方法的参数要与所指定的配置文件的写的索引配置第二个子句一致,比如我的是:index.search.backend=elasticsearch
那么buildMixedIndex的参数就应该为search,后来第50行代码修改以后就不报错了

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/397322.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号