Registry / database / elastic4s-core-2-11

elastic4s-core-2-11

JSON →
library7.1.0javamavenunverified

Elastic4s is a Scala DSL for Elasticsearch, providing a concise and type-safe way to interact with Elasticsearch.

<dependency> <groupId>com.sksamuel.elastic4s</groupId> <artifactId>elastic4s-core_2.11</artifactId> <version>7.1.0</version> </dependency>
INSTALL
IMPORT
SIG · ELASTIC4S-CORE-2-1
E
elastic4s-core-2-11
databasejavav7.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ElasticClient
com.sksamuel.elastic4s.ElasticClient

Creates an Elasticsearch client connected to localhost.

import com.sksamuel.elastic4s.ElasticClient; import com.sksamuel.elastic4s.ElasticProperties; public class Quickstart { public static void main(String[] args) { ElasticClient client = ElasticClient(ElasticProperties("http://localhost:9200")); System.out.println(client); } }
Debug
Known issues
breakingThis artifact is for Scala 2.11, which is outdated. Use a version for Scala 2.12 or 2.13.
fix
Use elastic4s-core with a Scala version suffix matching your project's Scala version (e.g., _2.12 or _2.13).
affects: >=7.0.0
Upgrade
Version history
7.1.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
elastic4s-core-2-11 — mvn dependency:get elastic4s-core-2-11 · libregistry