For AI agents: this page is also available as Markdown at /docs/compat-elasticsearch.md. Every docs page is: add .md to its URL. llms.txt lists them all.

Elasticsearch

WarpSearch runs Elasticsearch Query DSL searches and aggregations, and serves the Elasticsearch REST API at https://api.warpsearch.io/compat/es. Official clients, Logstash, Beats, Fluent Bit, Vector and Grafana's Elasticsearch data source can use this endpoint for the supported operations below. It implements a compatibility API rather than a full Elasticsearch cluster.

An index is a WarpSearch collection. A mapping you send is translated into a WarpSearch schema, which you can read back at GET /v1/collections/{name}/schema. Unsupported query features return 400 unsupported_feature; supported approximations and ignored options produce warnings. Some approximations can change matching documents as well as scores; see how queries are translated.

You can also send a Query DSL body to WarpSearch's own search API, with "language": "es":

{"language": "es",
 "query": {"query": {"bool": {"must": [{"match": {"title": "dune"}}],
                              "filter": [{"range": {"year": {"gte": 1960}}}]}},
           "aggs": {"genres": {"terms": {"field": "genre", "size": 5}}},
           "size": 10}}

Send it to POST /v1/search/{c}. Add ?format=es for an Elasticsearch-shaped response.

curl -X POST https://api.warpsearch.io/compat/es/books/_search \
  -H "Authorization: Bearer $WARPSEARCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": {"bool": {"must": [{"match": {"title": "dune"}}],
                         "filter": [{"range": {"year": {"gte": 1960}}}]}},
       "aggs": {"genres": {"terms": {"field": "genre", "size": 5}}},
       "size": 10}'

Support at a glance

Area Status Notes
_search, _msearch, _count Available Scores differ from Elasticsearch, see Behavior differences
Full-text and structured queries Partial Most query types work, see the query table
Aggregations Partial Terms, histograms, ranges, metrics, sketches, top_hits, pipeline aggregations and optional plugin aggregations; see below
kNN and hybrid search Available Top-level knn, the knn query, and knn beside a query
Index create, get, delete, mapping Available Dynamic mapping and explicit schemas; see Mappings
Single-document APIs and _bulk Partial Partial updates; no atomic conditional writes or real versions
Grafana Elasticsearch datasource Available Logs and metrics panels
Highlighting Available Native backends, standard request options and per-hit snippets; see Highlighting
Scroll and search_after Partial Field-sort keyset paging; emulated scroll without a snapshot. Point in time is unsupported
Nested documents API limitation See nested document behavior and REST API limitations
Parent/child joins Not supported Elasticsearch join fields and has_child / has_parent
Scripting (Painless) Restricted Supported vector scoring and aggregation expressions only; no general document scripts
ES|QL Partial /_query returns columns and values; see ES|QL
Searching several indices at once Partial Index lists, wildcard patterns and _all; no index aliases, see Several indices
Templates and ILM setup APIs Acknowledged only Requests are accepted but definitions are not stored or applied
Ingest pipelines, index aliases, snapshots Not supported
Kibana Not supported

Connect

Create an API key in the management console. The role of the key decides what it may do: viewer searches, writer also writes documents and refreshes, editor also creates indices, changes mappings and force merges, admin also deletes indices.

WarpSearch accepts the key in any of these forms:

Header Value
Authorization: Bearer the key
Authorization: ApiKey the key, or the base64 id:secret form Elasticsearch clients send
X-API-Key the key

HTTP Basic also accepts the key as the password with username apikey or an empty username. Other usernames must match the actor associated with the key.

Base URL

The base URL is https://api.warpsearch.io/compat/es, port 443. Keep /compat/es in the client URL, or configure the transport’s path prefix separately as shown below.

Use clients that send plain JSON/NDJSON or compatibility media types with compatible-with=7 or 8. A Content-Type with compatible-with=9 is rejected; use an 8.x client or a low-level transport configured for a supported media type.

Send the key as is, in one of the headers above. Use the complete WarpSearch key for the examples below. The gateway also accepts base64-encoded id:secret when those components reconstruct the same WarpSearch key; an unrelated Elasticsearch API key cannot authenticate to WarpSearch.

Client and tool connection settings
Client or tool Base URL setting Key
Python elasticsearch Elasticsearch("https://api.warpsearch.io/compat/es") api_key="ws_..."
JavaScript @elastic/elasticsearch node: "https://api.warpsearch.io/compat/es" auth: {apiKey: "ws_..."}
Java (RestClient, or Rest5Client in 9.x) Host https://api.warpsearch.io plus .setPathPrefix("/compat/es") on the builder. The host alone cannot carry a path setDefaultHeaders
Go go-elasticsearch Addresses: []string{"https://api.warpsearch.io/compat/es"}, without a trailing slash APIKey: "ws_..."
.NET Elastic.Clients.Elasticsearch new ElasticsearchClientSettings(new Uri("https://api.warpsearch.io/compat/es")) .Authentication(new ApiKey("ws_..."))
Ruby elasticsearch url: "https://api.warpsearch.io/compat/es" api_key: "ws_..."
PHP elasticsearch/elasticsearch ->setHosts(["https://api.warpsearch.io/compat/es"]) ->setApiKey("ws_...")
Rust elasticsearch SingleNodeConnectionPool::new(Url::parse("https://api.warpsearch.io/compat/es")?) Credentials::EncodedApiKey("ws_...".into())
Logstash elasticsearch output hosts => ["https://api.warpsearch.io:443/compat/es"] custom_headers => {"Authorization" => "Bearer ws_..."}
Filebeat and other Beats hosts: ["https://api.warpsearch.io:443"] with path: /compat/es headers: {Authorization: "Bearer ws_..."}
Fluent Bit es output Host api.warpsearch.io, Port 443, tls On, Path /compat/es, Suppress_Type_Name On HTTP_API_Key ws_...
Vector elasticsearch sink endpoints = ["https://api.warpsearch.io/compat/es"] request.headers.Authorization = "Bearer ws_..."
Grafana Elasticsearch datasource URL https://api.warpsearch.io/compat/es; choose the collection as the index Custom header Authorization
from elasticsearch import Elasticsearch

es = Elasticsearch(
    "https://api.warpsearch.io/compat/es",
    api_key="ws_...",
)

es.search(index="books", query={"match": {"title": "dune"}})
curl -s https://api.warpsearch.io/compat/es/books/_search \
  -H "Authorization: ApiKey ws_..." \
  -H "Content-Type: application/json" \
  -d '{"query": {"match": {"title": "dune"}}}'

This example uses the Elasticsearch 8.x RestClient transport.

RestClient restClient = RestClient
    .builder(HttpHost.create("https://api.warpsearch.io"))
    .setPathPrefix("/compat/es")
    .setDefaultHeaders(new Header[] {
        new BasicHeader("Authorization", "ApiKey ws_...")})
    .build();
ElasticsearchClient es = new ElasticsearchClient(
    new RestClientTransport(restClient, new JacksonJsonpMapper()));

The Java API client sends typed_keys=true, which WarpSearch does not honor, so aggregation results do not parse through it. Use the low-level REST client or raw JSON for aggregations. For the REST 5 transport, see default-header authentication.

Shippers make a few startup calls of their own, such as version, license or template checks. WarpSearch answers the version probe, GET /_license (an active basic license) and GET /_xpack (every X-Pack feature reported unavailable, so shippers skip ILM). Beats stop at startup without the license answer. Test your shipper with a small batch and check its log for 404 or unsupported_feature responses. If it insists on installing an index template or ingest pipeline, turn that step off and create the collection yourself.

For Filebeat, configure a header, path prefix and fixed index, and disable template and ILM setup. Create the collection with a mapping for the fields you keep (@timestamp as date, message as text, and so on), and drop the metadata fields you do not map, if you do not want dynamic mapping to add them:

output.elasticsearch:
  hosts: ["https://api.warpsearch.io:443"]
  path: /compat/es
  headers:
    Authorization: "Bearer ws_..."
  index: "logs"
setup.template.enabled: false
setup.template.name: "logs"
setup.template.pattern: "logs*"
setup.ilm.enabled: false
processors:
  - drop_fields:
      fields: [agent, ecs, input, log.offset, log.file.device_id, log.file.inode]
      ignore_missing: true

Endpoints

Index names are collection names. Paths below are relative to https://api.warpsearch.io/compat/es.

Endpoint Notes
GET / Compatibility version probe: 8.11.0, with the X-Elastic-Product: Elasticsearch header
GET /_security/_authenticate Who you are and your role per collection
GET, POST /{index}/_search {index} may be a comma-separated list. Also q, from, size URL parameters
GET, POST /_msearch, /{index}/_msearch The header index may be a name, a comma-separated list or an array; unsupported header keys are ignored, with warnings when they could affect results
GET, POST /{index}/_count Exact count
PUT, GET, HEAD, DELETE /{index} Create (with mappings and analysis settings), read, exists, delete
GET, PUT, POST /{index}/_mapping Read and add fields
POST, PUT /_bulk, /{index}/_bulk index, create, delete, partial update with doc and optional upsert
POST /{index}/_update/{id} Partial update with doc, doc_as_upsert or upsert; no scripts
GET, POST /_search/scroll Emulated scroll, without a point-in-time snapshot
PUT, POST /{index}/_doc/{id}, POST /{index}/_doc, PUT, POST /{index}/_create/{id} Index one document
GET, HEAD /{index}/_doc/{id}, GET /{index}/_source/{id} Get one document
DELETE /{index}/_doc/{id} Delete one document
GET, POST /_mget, /{index}/_mget Multi-get
GET, POST /{index}/_refresh Publish writes and build eligible approximate vector indexes; name the indices explicitly
POST /_forcemerge, /{index}/_forcemerge Editor role; use it after a bulk load

Additional routes include _update, _terms_enum, /_search/scroll, index-less search, selected cluster/node/cat probes, and template, policy and data-stream setup endpoints. Template and ILM writes are acknowledged but not stored or applied; data streams map to one ordinary collection without rollover. Unimplemented routes answer 404.

Use explicit index names for refreshes after a load. POST /_refresh and POST /_all/_refresh are no-ops. A named refresh that is still running returns 202; repeat it until it completes. Force merges can run asynchronously with wait_for_completion=false, returning a task ID to poll at GET /_tasks/{id}. Task records are local to the gateway instance running the merge.

ES|QL

Send ES|QL to POST /compat/es/_query (or GET with a body):

curl -s https://api.warpsearch.io/compat/es/_query \
  -H "Authorization: Bearer ws_..." \
  -H "Content-Type: application/json" \
  -d '{"query": "FROM books | WHERE year >= 1960 | KEEP title, year | LIMIT 10"}'

The response contains columns and values. columnar: true transposes the values; URL format=csv, tsv or txt requests a table. Use params for query parameters. A separate Query DSL filter can further restrict the source documents.

Supported commands include FROM, WHERE, EVAL, KEEP, DROP, RENAME, SORT, LIMIT, STATS, MV_EXPAND, DISSECT and GROK. Leading filters, sorts and aggregations can run in the search engine; remaining transformations operate on bounded rows. This is a supported subset, subject to query, row, result-window and timeout limits, not full language coverage. LOOKUP JOIN uses the pipelines feature and supports a narrower set of expressions. ENRICH, FORK, FUSE, RERANK, COMPLETION, SAMPLE, subqueries and remote-cluster sources are unsupported.

POST /_query/async runs to completion before replying; it does not retain a background query context. GET/DELETE /_query/async/{id} and POST /_query/async/{id}/stop return 404. You can also use "language": "esql" on POST /v1/search, which returns rows as native search hits with column metadata. PPL is available separately through the native API with "language": "ppl".

Query DSL

Query Support
match, match_phrase, match_bool_prefix Exact, including operator, minimum_should_match, fuzziness, slop, zero_terms_query
match_phrase_prefix One word is exact. Several words use a phrase plus a prefix anywhere in the field, with a warning; this can match extra documents
multi_match best_fields (the default), phrase, most_fields, cross_fields, phrase_prefix, bool_prefix. Score combination follows these rules: best_fields and phrase score the best field plus tie_breaker times the others, and most_fields sums them. cross_fields scores fields that share an analyzer as one BM25F field, so its boosts weight term frequency and length instead of multiplying the score. fuzziness, phrase_prefix and bool_prefix combine per-field clauses
combined_fields Exact. Fields that share an analyzer are scored as one BM25F field
term, terms, ids, exists Exact. term on a text field matches one indexed token. case_insensitive works on keyword fields. On ip fields, term and terms take CIDR blocks such as 10.0.0.0/8
range Exact, with time_zone, format, date math
prefix, wildcard, regexp, fuzzy Exact, including case_insensitive. Regex operators ~ & @ # <n-m> are rejected, and so are these queries on ip, boolean and numeric fields
bool Exact, every minimum_should_match form
constant_score, boosting, dis_max dis_max scores the best clause plus tie_breaker times the others; tie_breaker defaults to 0, and 1 sums them
script_score Restricted vector expressions using cosineSimilarity, dotProduct, l2norm or hamming, translated to exact vector searches; no general scripts
function_score weight, field_value_factor, decays, random_score, filtered functions. No scripts
query_string, simple_query_string Most options. simple_query_string ignores field boosts
geo_distance, geo_bounding_box Exact. See Geo search
geo_polygon, geo_shape, geo_grid geo_shape takes an inline GeoJSON or WKT shape and relation (intersects, disjoint, within, contains); geo_grid takes geohash, geotile or geohex (on geo_shape fields geohash and geotile). On geo_shape fields, geo_distance, geo_bounding_box and geo_polygon run as geo_shape queries. See Polygons and shapes
distance_feature, geo_nearest distance_feature on geo_point fields; geo_nearest (field, origin, k, max_distance) is a WarpSearch extension. See Distance sorting and nearest
rwildcard, substring WarpSearch extensions. rwildcard runs suffix and leading-wildcard patterns on a reversed variant; see Suffix search. substring matches literals, wildcards and regexes anywhere in a column-only string through a trigram variant; see Substring search
knn See kNN
post_filter, min_score, collapse with inner_hits, sort with missing and mode, _geo_distance sort Exact

Not supported: geo_shape with indexed_shape, cartesian shape and xy_shape queries, distance_feature on date fields, geo_grid with geohex on geo_shape fields, and _geo_distance sorts from several points or with mode avg, median or sum.

Field patterns in multi_match and query_string other than * (such as title*) remain unsupported.

Aggregations

Aggregation Support
terms Counts, size, min_doc_count, missing, sub-aggregations. Ordering by _key, _count or metrics is subject to supported order combinations and bucket limits; requests that cannot produce the requested order are rejected. On boolean fields buckets are keyed 1 and 0, with key_as_string "true" and "false"
multi_terms Groups field-value combinations. Support for multi-valued fields, per-term missing/include/exclude and advanced ordering depends on enabled aggregation features; unsupported combinations are rejected
histogram, date_histogram calendar_interval, fixed_interval, time_zone, offset, min_doc_count, extended_bounds, hard_bounds, format, keyed
auto_date_histogram buckets, minimum_interval, time_zone, format. Picks the interval the way Elasticsearch does and returns it as interval
range, date_range, filters, filter, global Exact
avg, sum, min, max, value_count, stats, extended_stats Exact, field only
cardinality Approximate, as in Elasticsearch. precision_threshold honored up to 40000
percentiles, percentile_ranks t-digest. hdr is rejected
top_hits One per bucket aggregation
geohash_grid, geotile_grid, geohex_grid precision as a level, bounds, size, shard_size, sub-aggregations. geohex_grid on geo_point fields only. See Geo aggregations
geo_distance origin, unit, ranges, keyed, sub-aggregations, on geo_point fields
geo_bounds, geo_centroid wrap_longitude on geo_bounds

Sub-aggregations under a terms aggregation need a string or id field. Aggregation names can be any string and come back unchanged.

Pipeline and advanced aggregations

avg_bucket, sum_bucket, min_bucket, max_bucket, stats_bucket, extended_stats_bucket, percentiles_bucket, derivative, cumulative_sum, serial_diff, bucket_sort, moving_fn, moving_avg, bucket_script and bucket_selector operate over returned buckets. bucket_script and bucket_selector accept a restricted expression over parameters; moving_fn accepts supported MovingFunctions calls. This is not general Painless execution. Pipelines see the buckets the parent returned, not buckets truncated by its size.

composite supports terms, histogram and date-histogram sources, multi-valued fields and after_key paging when enabled. Pass the response's after_key back as after. Some collections support only a single terms source. significant_terms, rare_terms, frequent_item_sets and median_absolute_deviation also depend on enabled aggregation features; unavailable operations return unsupported_feature. frequent_item_sets does not accept sub-aggregations.

Terms include and exclude are subject to field-type restrictions. sampler, diversified_sampler, random_sampler, geo_line, grid precision expressed as a distance, and general document scripts remain unsupported.

Suggesters

_search and _msearch accept a suggest section with completion, term and phrase. Completion searches ordinary fields rather than a dedicated completion index; weights and contexts are unavailable. Term suggestions use a bounded dictionary search. Phrase suggestions combine word corrections and are approximated with a warning, without a phrase language model. The completion mapping type remains unsupported. Use size: 0 for suggestions without hits. POST /{index}/_terms_enum also returns a bounded enumeration of terms.

Send the Elasticsearch top-level knn section, or a knn query. This example assumes embedding is a dense_vector field with dims: 3; every vector must match the mapped dimension:

{
  "knn": {
    "field": "embedding",
    "query_vector": [0.12, -0.03, 0.88],
    "k": 10,
    "num_candidates": 100,
    "filter": {"term": {"genre": "scifi"}}
  }
}

A knn section beside a query is hybrid search. A document matches if either side matches, and its score is the sum of the two scores times their boosts. Several knn sections and boost work the same way. A knn filter narrows the vector search itself, before ranking.

Setting Behavior
k Bounded by your plan's result window
num_candidates Up to 10000, and at least k. It controls candidate effort; WarpSearch expands the full-precision rescoring pool, capped at 10000
rescore_vector.oversample Widens the rescoring pool
similarity Minimum similarity, in the metric's own space
Dimensions Up to 8192
ivf (extension) {"nprobe": 8} or {"min_scan_fraction": 0.1} to tune recall of approximate indexes
exact (extension) true forces a full scan, which gives ground truth for measuring recall
unit (extension) "groups" makes k count the groups of the search's collapse instead of documents. See Nearest groups

Scores are WarpSearch similarity scores, not Elasticsearch's rescaled _score. Rank order is what to compare.

A dense_vector mapping with index_options.type such as hnsw or int8_hnsw asks for an approximate index. WarpSearch builds IVF approximate indexes, not HNSW graphs. Named refreshes and force merges build indexes for eligible segments, and merges can build them during ingestion. Small segments and segments without an approximate index use exact scans. Build parameters such as m and ef_construction are accepted and ignored with a warning. See Vector search and Hybrid search.

Rank fusion (rrf and linear retrievers, rank.rrf) is covered in Hybrid search. A top-level collapse, with inner_hits, works with retrievers and collapses the fused list, and a standard child retriever can collapse its own list (without inner_hits). See One result per entity.

A function_score can wrap a knn query, which rescores the nearest neighbors by popularity, recency or distance. See Scoring expressions.

dense_vector accepts element_type: "float", "byte", "bit" and the "bfloat16" extension. Byte vectors use 8-bit storage; bit vectors use Hamming distance and exact scans, with dims a multiple of eight. Bit vectors do not build approximate indexes.

Not supported: query_vector_builder, semantic and sparse_vector queries, and inner_hits on nested vectors.

Mappings

Elasticsearch-created collections support dynamic mapping: new fields are inferred before indexing. dynamic: false drops unmapped fields; dynamic: strict rejects them. date_detection, numeric_detection and supported dynamic_templates control inference. Native-schema collections still require explicit fields, templates or type suffixes such as _t, _s and _i. A change that would break existing data (a different type for a mapped field, for example) is refused with 409, as in the WarpSearch schema API. See Schemas and field types, which shows each operation in WarpSearch and Elasticsearch form.

Mappings can use text, match_only_text, search_as_you_type, keyword, constant_keyword, wildcard, version, integer types, float, half_float, double, scaled_float, boolean, ip, date, date_nanos, geo_point, geo_shape, dense_vector and rank_vectors. Multi-fields such as title.keyword work and are stored as variants (title__keyword), and so does copy_to. Language analyzers such as german, persian or kuromoji, and custom analyzers in settings.analysis, are translated to WarpSearch analyzers, and their tokenizers, filters and char filters (synonyms, n-grams, shingles, word delimiters, patterns, phonetic encoders and more) keep their names and parameters; see Languages and text analysis. A component that cannot be reproduced (keyword_marker, hunspell, files such as stopwords_path) is dropped with a warning, and synonyms_path is refused. A field's search_analyzer is not applied: queries use the field's analyzer, with a warning, and synonym filters only the search analyzer has become the collection's query-time synonyms. search_as_you_type fields are indexed as plain text; for as-you-type matching, see Autocomplete with n-grams.

Field names containing @ or . are encoded into valid stored names. For example, @timestamp becomes timestamp and event.created becomes event_created. The encoding preserves distinctions between dotted paths, underscores and case: a.b_c and a_b.c remain separate fields. Keep using the original mapped names in queries and responses. Collisions such as mapping both @timestamp and timestamp are rejected. Read the translated schema at GET /v1/collections/{name}/schema rather than constructing stored names yourself.

These types use WarpSearch's own types:

Mapping type WarpSearch type Behavior
boolean boolean Accepts true, false, "true" and "false". _source returns JSON booleans
ip ip IPv4 and IPv6. term and terms take addresses or CIDR blocks, range compares addresses. Results show the canonical form (::ffff:10.0.0.1 is 10.0.0.1)
scaled_float decimal With a power-of-ten scaling_factor (100 keeps two decimals), values are exact decimals rounded to that precision when written, as Elasticsearch rounds them. Other factors store a double
date_nanos date with nanosecond precision Stored, compared and sorted to the nanosecond, and ISO-8601 query values keep nanoseconds. _source, sort values and aggregation keys show milliseconds. Score functions such as decays on the field are rejected

Field aliases (type: "alias", path) resolve to an existing concrete field for queries; documents cannot write a value to the alias. This is distinct from an index alias, which is unsupported. integer_range, long_range, float_range, double_range and date_range mappings accept one range per document. Arrays of ranges are not supported.

See Nested documents for nested indexing behavior and REST API limitations. join, flattened, completion, binary and ip_range mappings remain unsupported.

Arrays and multi-valued fields

As in Elasticsearch, any field can hold an array. Mapped text, keyword types, numbers, dates, boolean, ip, geo_point and dense_vector fields are multi-valued: each document may send one value or an array of them.

A multi-valued field is always returned as a list, even when the document sent a single value. {"tag": "red", "price": 10} comes back in _source, GET _doc and fields as {"tag": ["red"], "price": [10]}, and a vector field as a list of vectors. Read these fields as lists.

geo_point mappings take ignore_malformed and ignore_z_value, and geo_shape mappings take orientation, ignore_malformed and distance_error_pct. The geo_shape prefix-tree settings (tree, strategy, precision, tree_levels, points_only), coerce: true, copy_to and multi-fields are rejected. See Geo shapes.

flattened remains unsupported; ordinary object mappings flatten their declared properties.

Write semantics

_bulk batches consecutive actions on one index and reports each item's result separately. Overload is reported per item as 429 so clients can retry just those items. An unknown index is created on first write if your key may create collections (editor or admin).

Not supported: _update_by_query, _delete_by_query, _reindex, scripted updates, ingest pipelines (the pipeline parameter is ignored), and atomic conditional writes.

Behavior differences

Area What differs
Scores Relevance scores are not identical to Elasticsearch, so expect different _score values and occasional rank changes. Analysis differences and documented approximations can also change which documents match.
_source Rebuilt from stored fields, with your field names and object nesting. Multi-valued fields come back as lists, even for a single value (see Arrays and multi-valued fields). Dates come back as epoch milliseconds, geo_point values as [lon, lat] and geo_shape values as GeoJSON.
Totals track_total_hits: true counts exactly; false skips the count where the query permits. The default total can be bounded, estimated or exact. Inspect hits.total.relation; aggregations and sorting can require an exact count.
Response metadata No _shards, and timed_out is always false. Hits carry no _version or _seq_no. Sorted hits carry sort values: the score for _score, epoch milliseconds for dates, null where a document has no value. typed_keys and rest_total_hits_as_int are not supported.
Limits Result size, result window, facet size, query size and request rate are capped. See Limits and errors.

A positive integer track_total_hits requests a bounded total. Some searches may still count exactly. Inspect hits.total.relation; gte is a lower bound. Aggregations and field-sorted searches can still require exact counting.

Several indices

Name several indices in the path, books,articles/_search, or in an _msearch header, {"index": ["books", "articles"]}. WarpSearch searches each index and merges the results:

Errors and warnings

An unsupported feature fails with 400 in the Elasticsearch error shape:

{"error": {"type": "unsupported_feature", "reason": "..."}, "status": 400}

Unknown query or aggregation names are a normal query_error. An approximation returns 200 plus a Warning: 299 header. Your client library may surface these as warnings; log them while you test.

Not supported

Area Not supported
Paging Point in time and slices. search_after and emulated scroll are supported with paging restrictions.
Text Span queries, intervals, more_like_this, terms_set, percolate (use the Match API), rescore, search_as_you_type subfields
Data model Join fields, general document scripts, runtime_mappings, script_fields; see nested API limitations
Several indices Index aliases; data streams use one ordinary collection, without backing-index rollover
Cluster and lifecycle APIs Snapshots, cross-cluster search, _field_caps, _validate, _sql, _async_search. Selected _cat, _cluster and _nodes probes are compatibility responses, not a cluster-management API
Applications Kibana. A supported ES|QL subset is available at /_query; see ES|QL

For SQL, use SQL and PostgreSQL on the WarpSearch API instead of _sql.

Cost compared with Elasticsearch Serverless

WarpSearch bills per GB stored, per GB written and per request, with no nodes or VCUs to keep running. For line-by-line monthly costs on the same workloads, see Elasticsearch Serverless pricing (Elastic Cloud Serverless). To move an existing cluster, see Migration guidance.

Highlighting

highlight returns per-hit snippets, including with _source: false, in _msearch, top_hits and collapsed inner hits. See Highlighting for examples, backend selection, supported settings and limitations.

View this page as Markdown

Cookie settings

Optional tracking stays off until you choose it. Your choice applies to this browser for 180 days. Read the details.

Essential storage keeps you signed in, protects forms, and remembers this choice. It is always available.