Authentication Support for RDF ElasticSearch #4395
Unanswered
RyanMoss96
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hmz, would it be possible to add some more info on the RDF4J version you are using and the version of Elasticsearch ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've been trying to setup RDF4J on a small test project that uses Elasticsearch as its database but seem to be hitting the following error:
[main] INFO org.eclipse.rdf4j.sail.elasticsearchstore.ElasticsearchStore - Waiting for Elasticsearch to start [main] INFO org.eclipse.rdf4j.sail.elasticsearchstore.ElasticsearchStore - Unable to connect to elasticsearch cluster due to NoSuchFieldError java.lang.NoSuchFieldError: LUCENE_8_6_0
The only thing I can think of that is causing this is that the ElasticSearch instance has a username and password/TLS enabled on it preventing my project from connecting but there doesn't seem to be much documentation available on how to use the ElasticSearch Datastore other than the following line:
Repository db = new SailRepository(new ElasticsearchStore("localhost", 9200, "elasticsearch", "rdf4j_index"));
Does anybody know how to authenticate my connection?
Beta Was this translation helpful? Give feedback.
All reactions