MCPcopy Index your code
hub / github.com/chengpohi/edql

github.com/chengpohi/edql @v1.10.30

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.10.30 ↗ · + Follow
1,708 symbols 3,772 edges 265 files 32 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

EDQL

EDQL is a professional query and management tool for Elasticsearch. It's intelligent and powerful for manage Elasticsearch cluster and query from Elasticsearch. also It always follow Elasticsearch the newest features.

It is full compatible with official Query DSL, we can just copy DSL and run on EDQL without any extra effort. also EDQL has visual editor for quickly write query conditions with interactive UI.

Powered by ChatGPT and LLM capabilities, you can now query your Elasticsearch data using natural language - just describe what you're looking for, and let EDQL translate it into powerful search queries. This revolutionary feature combines the robust search capabilities of Elasticsearch with the intuitive nature of conversational AI, making complex data exploration as simple as having a conversation. Whether you're a data analyst, developer, or DevOps engineer, EDQL's AI-powered search will dramatically boost your productivity. (Note: ChatGPT features require your own API key)

It has powerful script engine: function, variable and iteration etc. with smart Intellij you can easily write query DSL(live templates, refactor, extract...). view more on: EDQL Wiki

# f1 = k1
# f2 in ["k1", "k2", "k3"]
# f3 date field gt now-3d
# f4 number lt 20

POST my-index/_search
{
  "query": {
    "bool": {
      "filter": [
        term("f1", "k1"),
        terms("f2", ["k1", "k2", "k3"]),
        gt("f3", "now-3d"),
        lt("f4", 20)
      ]
    }
  }
}

1 Install and Query

1.1 Install EDQL Plugin on Intellij

1.2 Install EDQL Standalone GUI

1.3 New Connection and Query

Create a Connection and Query

1.4 Chat Query Elasticsearch

Chat Query

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 1,390
Class 201
Interface 117

Languages

Java85%
Kotlin15%

Modules by API surface

src/main/gen/com/github/chengpohi/esql/parser/ESQLParser.java207 symbols
src/main/gen/com/github/chengpohi/edql/parser/EDQLParser.java145 symbols
src/main/java/com/github/chengpohi/edql/parser/json/JsonCollection.kt93 symbols
src/main/gen/com/github/chengpohi/esql/parser/psi/ESQLVisitor.java64 symbols
src/main/java/com/github/chengpohi/edql/parser/InterceptFunction.kt60 symbols
src/main/gen/com/github/chengpohi/edql/parser/psi/EDQLVisitor.java47 symbols
src/main/gen/com/github/chengpohi/edql/parser/psi/impl/EDQLExprImpl.java25 symbols
src/main/java/com/github/chengpohi/script/InstructionInvoker.kt23 symbols
src/main/java/com/github/chengpohi/edql/parser/psi/impl/EDQLPsiImplUtils.java23 symbols
src/main/gen/com/github/chengpohi/esql/parser/_ESQLLexer.java23 symbols
src/main/gen/com/github/chengpohi/edql/parser/psi/EDQLExpr.java23 symbols
src/main/gen/com/github/chengpohi/edql/parser/_EDQLLexer.java23 symbols

For agents

$ claude mcp add edql \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page