APIs and tools
Elastic Stack Serverless
This page is handy list of the most important APIs and tools you need to build, test, and manage your search app built with Elasticsearch.
Endpoint | Function |
---|---|
_search |
Searches and aggregations written in Query DSL and retrievers syntax |
_query |
Endpoint for ES|QL queries |
_explain |
Provides detailed explanation of how a specific document matches a query with scoring breakdown |
_count |
Returns count of documents matching a query without retrieving results |
_validate/query |
Validates query syntax without executing the search |
_analyze |
Performs analysis for full-text search on a text string and returns the resulting tokens. |
Endpoint | Function |
---|---|
_mapping |
Retrieves or updates field mappings with options for specific field inspection |
_reindex |
Copies documents from one index to another, useful for mapping changes |
_update_by_query |
Updates documents matching a query without reindexing |
_bulk |
Performs multiple index/update/delete operations in a single request |
_refresh |
Forces a refresh to make recent operations searchable |
_ingest/pipeline |
Creates and manages document processing pipelines before indexing |
Endpoint | Function |
---|---|
_rank_eval |
Evaluates search quality against known relevant documents |
_settings |
Configures settings including slow logs, refresh intervals, and replicas (only index-level settings available in serverless) |
_scripts |
Creates or updates stored scripts for reuse in queries and aggregations |
Access these specialized tools in Kibana and the Serverless UI to develop, debug, and refine your search queries while monitoring their performance and efficiency.
These tools are documented in the Explore & Analyze section:
Tool | Function |
---|---|
Saved queries | Save your searches and queries to reuse them later. |
Console | Interact with the REST APIs of Elasticsearch and Kibana, including sending requests and viewing API documentation. |
Search Profiler | Inspect and analyze your search queries. |
Grok Debugger | Build and debug grok patterns before you use them in your data processing pipelines. |
Painless Lab | Test and debug Painless scripts in real-time. |
Use Playground to combine your Elasticsearch data with the power of large language models (LLMs) for retrieval augmented generation (RAG), using a chat interface. Playground is also very useful for testing and debugging your Elasticsearch queries, using the retrievers syntax with the _search
endpoint.
Elastic Search UI is a library of JavaScript and React tools for building search experiences, optimized for use with Elasticsearch.
Check out the Elasticsearch Labs blog to learn how to use Elastic to build advanced search experiences including generative AI, embedding models, reranking capabilities and more.
The accompanying GitHub repository contains hands-on Python notebooks and sample apps to help you get started with these advanced search features.