Skip to main content

DSL Compatibility Matrix

This page is the support map for the DSL Query API: for every query type, aggregation, and option, it shows how faithfully each search engine backend (Elasticsearch, Solr, Lucene) implements it. Because Turing ES exposes one Elasticsearch-compatible syntax over three different engines, a feature that's native on one may be translated or only partially supported on another.

Reach for this table when you're choosing a backend for a site, or when a DSL query behaves differently than you expected across engines: the badge tells you whether that's a 1:1 mapping, a translation, or a best-effort approximation. Read it alongside the query examples on the DSL Query API page.

Legend

BadgeLevelDescription
NNativeDirect 1:1 mapping to the engine API
TTranslatedConverted to equivalent engine syntax
PPartialBasic support with limitations
FFallbackBest-effort approximation
N/AN/ANot supported by the engine

Queries (40 types)

Full-text Queries

QueryESSolrLucene
matchNTT
multi_matchNTT
match_phraseNTT
match_phrase_prefixNTT
match_bool_prefixNTT
combined_fieldsNTT
query_stringNTT
simple_query_stringNTT
match_allNTT

Term-level Queries

QueryESSolrLucene
termNTT
termsNTT
terms_setNFF
rangeNTT
existsNTT
prefixNTT
wildcardNTT
regexpNTT
fuzzyNTT
idsNTT

Compound Queries

QueryESSolrLucene
boolNTT
constant_scoreNTT
dis_maxNTT
boostingNTT
function_scoreNPP
script_scoreNFF
pinnedNTT

Nested & Join Queries

QueryESSolrLucene
nestedNFF
has_childNFF
has_parentNFF

Geo Queries

QueryESSolrLucene
geo_distanceNTF
geo_bounding_boxNTF
geo_shapeNFF
QueryESSolrLucene
knnNTN

Span Queries

QueryESSolrLucene
span_termNTT
span_nearNTT
span_orNTT
span_notNTT
span_firstNFF

Specialized Queries

QueryESSolrLucene
more_like_thisNTT
intervalsNTT
rank_featureNFT
distance_featureNFF
wrapperNFF
percolateNFF

Aggregations (35 types)

Bucket Aggregations

AggregationESSolrLucene
termsNTT
rangeNTN/A
date_histogramNN/AN/A
histogramNN/AN/A
filterNTT
filtersNTT
significant_termsNTT
rare_termsNPT
nestedNN/AN/A
reverse_nestedNN/AN/A
auto_date_histogramNN/AN/A
multi_termsNN/AN/A
compositeNN/AN/A
samplerNN/AN/A
diversified_samplerNN/AN/A
adjacency_matrixNN/AN/A
geo_distanceNN/AN/A
variable_width_histogramNN/AN/A

Metric Aggregations

AggregationESSolrLucene
avgNTT
sumNTT
minNTT
maxNTT
cardinalityNTT
value_countNTT
statsNTT
extended_statsNTT
percentilesNTT
percentile_ranksNTT
top_hitsNN/AN/A
top_metricsNN/AN/A
median_absolute_deviationNN/AN/A
boxplotNN/AN/A
string_statsNN/AN/A
matrix_statsNN/AN/A
t_testNN/AN/A
rateNN/AN/A
scripted_metricNN/AN/A
geo_boundsNN/AN/A
geo_centroidNN/AN/A

Request Features (29 fields)

FeatureESSolrLucene
from / sizeNTT
sortNTT
_sourceNTT
highlightNTT
aggsNTT
post_filterNTT
min_scoreNTP
search_afterNN/AN/A
collapseNTN/A
suggestNPN/A
rescoreNPN/A
timeoutNTN/A
explainNTN/A
script_fieldsNN/AN/A
indices_boostNN/AN/A
track_total_hitsNTT
stored_fieldsNTN/A
scrollNN/AN/A
profileNN/AN/A
pitNN/AN/A
docvalue_fieldsNN/AN/A
versionNN/AN/A
seq_no_primary_termNN/AN/A
preferenceNN/AN/A
routingNN/AN/A
terminate_afterNN/AN/A

Response Fields

FieldESSolrLucene
tookNTT
timed_outNTT
hits.totalNTT
hits.max_scoreNTT
hits._idNTT
hits._scoreNTT
hits._sourceNTT
hits.highlightNTT
hits._explanationNN/AN/A
hits.fieldsNN/AN/A
hits._versionNN/AN/A
hits._seq_noNN/AN/A
hits.sortNN/AN/A
aggregationsNTT
suggestNN/AN/A
_scroll_idNN/AN/A
profileNN/AN/A
_shardsNN/AN/A

Coverage Summary

CategoryTotalESSolrLucene
Queries40N 100%T 100%T 100%
Aggregations35N 100%T 49%T 31%
Request Features29N 100%T 41%T 21%
Response Fields18N 100%T 44%T 44%
Recommendation

For full DSL compatibility, use Elasticsearch as the search engine backend. Solr and Lucene provide excellent coverage for the most common queries and aggregations, with best-effort translations for advanced features.


Engine Selection Guide

Use CaseRecommended
Full Elasticsearch DSL compatibilityN Elasticsearch
Production enterprise search with Solr infrastructureT Solr
Embedded search without external dependenciesT Lucene
Vector / semantic search (knn)N ES or N Lucene
Advanced aggregations (composite, nested, geo)N Elasticsearch
Simple faceted search with metric aggsT Solr or T Lucene