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
The current workaround solution is to use Elasticsearch templates:
A feature such as this would be very beneficial for an enterprise deployment I am working on. Is this in the future roadmap for janusgraph?
@levilentz This feature isn't targeted 0.5.0 milestone of JanusGraph.
As stated above, there is a workaround to configure necessary settings for indexes by using ElasticSearch directly (using ES templates for settings which should be applied during index creation or using settings update for settings which can be changed after the index creation).
If you have a desire to contribute this feature, it is more then welcome.
If you have no possibility to contribute this feature, I _may_ work on it but I have no plans to work on this feature in the near future due to the lack of interest and a small practical benefit of the feature.
@porunov Yes, that workaround is what we are currently using as well, we just have some scaling concerns with the two-step nature of the index creation process.
I think I may have some flexibility to help out with this after the new year as it would be a nice little addition.
Most helpful comment
@porunov Yes, that workaround is what we are currently using as well, we just have some scaling concerns with the two-step nature of the index creation process.
I think I may have some flexibility to help out with this after the new year as it would be a nice little addition.