Error when setting up Elasticsearch data source

When I try creating an elasticsearch data source in stardog studio I get the following error:

java.lang.NoClassDefFoundError: org/elasticsearch/client/RestClient
	at com.complexible.stardog.virtual.vega.elasticsearch.ElasticsearchDataSource.<init>(ElasticsearchDataSource.java:73)
	at com.complexible.stardog.virtual.vega.elasticsearch.ElasticsearchDataSource$ElasticsearchDataSourceFactory.create(ElasticsearchDataSource.java:251)
	at com.complexible.stardog.virtual.vega.elasticsearch.ElasticsearchDataSource$ElasticsearchDataSourceFactory.create(ElasticsearchDataSource.java:211)
	at com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.createDataSource(DefaultVirtualGraphRegistry.java:974)
	at com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.addDataSourceWithoutClosingPrior(DefaultVirtualGraphRegistry.java:950)
	at com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.addDataSource(DefaultVirtualGraphRegistry.java:887)
	at com.complexible.stardog.virtual.SecuredVirtualGraphRegistry.addDataSource(SecuredVirtualGraphRegistry.java:494)
	at com.complexible.stardog.protocols.http.server.virtual.admin.DataSourceHttpService.addDataSource(DataSourceHttpService.java:966)
	at com.complexible.stardog.protocols.http.server.virtual.admin.DataSourceHttpService.addDataSource(DataSourceHttpService.java:285)
	at com.stardog.http.server.undertow.jaxrs.ExtractRoutes.lambda$handleIt$5(ExtractRoutes.java:193)
	at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
	at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Since I'm using stardog cloud I've assumed that I don't need to add the elasticsearch client jar myself.

Hi Henrik,

ElasticSearch is not a supported data source in Stardog Cloud. You can see the full list of supported sources here.

Would one of the supported sources enable you to achieve what you're trying to?

Best,
Steve

I'm afraid not. We use elasticsearch to query data dumps from various databases that no longer exist, and we store the data dumps in a self hosted GitLab instance using Git LFS.
I was trying to create a virtual graph.
Is there any chance that support for Elasticsearch will be added in the future?

Hi Henrik,

It's possible it will be added, but I'm not aware of any plans to add it. If you'd like to use it, you can speak to a sales rep about finding a paid Stardog solution that will work for you and your team.

Best,
Steve