JanusGraph / JanusGraph/janusgraph

cannot drop janusgraph_vertices index when using external mappings.

Open
#805 1 comment 0 reactions 0 assignees View on GitHub
index/elasticsearch kind/bug/possible
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

I'm using cassandra 3.11 and ES 5.x with janusgraph 0.2.1.

I open graph with the following two parameters configured and then call `JanusGraphFactory.drop`.

```
baseConfiguration.setProperty("index.search.elasticsearch.use-all-field", false);
baseConfiguration.setProperty("index.search.elasticsearch.create.use-external-mappings", true);
graph = JanusGraphFactory.open(baseConfiguration);
...
JanusGraphFactory.drop(graph);

```
Only keyspace janusgraph being removed.
Is it correct to remove janusgraph keyspace and janusgraph_vertices index manually?

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior with Cassandra 3.11, Elasticsearch 5.x, JanusGraph 0.2.1, and the two external-mapping properties shown in the issue. Start at JanusGraphFactory.drop and determine whether removing the janusgraph keyspace should also remove the janusgraph_vertices index; done means the expected cleanup behavior is established and covered by the relevant test or documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cassandra, elasticsearch, java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.