JanusGraph/janusgraph

Add SETTINGS parameter for index keys

Open

#1,104 建立於 2018年6月8日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)Java (1,137 fork)batch import
help wantedindex/elasticsearchkind/enhancement

倉庫指標

Star
 (4,985 star)
PR 合併指標
 (平均合併 3天 18小時) (30 天內合併 12 個 PR)

描述

I think it would be very useful to add SETTINGS parameter for index creation. With this option we could create more useful indexes like sorted index (https://www.elastic.co/blog/index-sorting-elasticsearch-6-0).

I imagine the creation process of sorted index could be like this (just a suggestion, I am not sure of it):

mgmt.buildIndex('borderIndex', Vertex.class).addKey(name, Settings.SORTED.asParameter())
.buildMixedIndex("search")

Related discussion: https://groups.google.com/forum/#!searchin/janusgraph-users/elasticsearch$206%7Csort:date/janusgraph-users/dtBxqdR2qr0/ieXJdWaVAAAJ

貢獻者指南