Quick Start
Get started with SoftClient4ES in minutes. Choose your preferred method.
Option 1: Install the REPL Client
Linux / macOS:
curl -fsSL https://raw.githubusercontent.com/SOFTNETWORK-APP/SoftClient4ES/main/scripts/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/SOFTNETWORK-APP/SoftClient4ES/main/scripts/install.ps1 | iexConnect to your cluster:
softclient4es --host localhost --port 9200Option 2: SBT Dependency (Scala)
Add to your build.sbt:
// Core SQL enginelibraryDependencies += "app.softnetwork.elastic" %% "softclient4es8-java-client" % "0.19.2"Resolvers:
resolvers += "softnetwork-releases" at "https://softnetwork.jfrog.io/artifactory/releases/"resolvers += "softnetwork-snapshots" at "https://softnetwork.jfrog.io/artifactory/snapshots/"Your First Queries
Once connected, try these SQL commands:
-- Show existing indexesSHOW TABLES;
-- Create a tableCREATE TABLE demo ( id KEYWORD, name TEXT, age INTEGER, PRIMARY KEY (id));
-- Insert dataINSERT INTO demo (id, name, age) VALUES ('1', 'Alice', 30);INSERT INTO demo (id, name, age) VALUES ('2', 'Bob', 25);
-- QuerySELECT * FROM demo WHERE age > 20 ORDER BY name;
-- Describe the schemaDESCRIBE TABLE demo;
-- Clean upDROP TABLE demo;Next Steps
- SQL DDL Reference — Full schema management documentation
- SQL DML Reference — Insert, update, delete operations
- JDBC Integration — Connect your BI tools