JanusGraph / JanusGraph/janusgraph

Make lazy elasticsearch index creation

Open
#1,974 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

Now elastic search creates indexes on the initialization graph step.
If your graph scheme has a lot of mixed indexes, then the process of initializing the graph may be delayed.
Therefore, I propose creating a lazy index, that is, creating an index when invoking the mutation method or the recovery method.

I can provide PR.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the graph initialization step where Elasticsearch indexes are currently created, then inspect the mutation and recovery paths named in the issue. Determine the existing index-creation flow and define completion as indexes being created only when those paths are invoked, without delaying graph initialization.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, java
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.