S_S
S_S

Reputation: 1402

Configuring JanusGraph with Lucene as index backend and HBase or Cassandra as storage backend

How can I configure Janusgraph with Lucene as index backend and Cassandra/HBase as storage backend?

When running this command

./bin/janusgraph-server.sh console ./conf/gremlin-server/gremlin-server-[...].yaml

It only starts up Janusgraph if we use gremlin-server-berkeleyje.yaml and set the configuration as janusgraph-berkeleyje-lucene.properties. Other attempts to use Lucene with supported storage backends throw errors on Janusgraph startup related to setting up index backend.

Upvotes: 1

Views: 122

Answers (1)

HadoopMarc
HadoopMarc

Reputation: 1581

The Lucene indexing backend cannot support multiple cooperating JanusGraph instances. Therefore, using JanusGraph with Lucene only makes sense when using the Berkeleyje storage backend, which has the same limitation.

Note that you can use JanusGraph without indexing backend. Then, it is still possible to configure so-called Composite Indices for equality lookups. This might be the easiest way for you to get going if you have a HBase/Cassandra cluster available, but are still missing an Elasticsearch/Solr cluster.

Upvotes: 2

Related Questions