Show/Hide Menu
Hide/Show Apps
Logout
Türkçe
Türkçe
Search
Search
Login
Login
OpenMETU
OpenMETU
About
About
Open Science Policy
Open Science Policy
Open Access Guideline
Open Access Guideline
Postgraduate Thesis Guideline
Postgraduate Thesis Guideline
Communities & Collections
Communities & Collections
Help
Help
Frequently Asked Questions
Frequently Asked Questions
Guides
Guides
Thesis submission
Thesis submission
MS without thesis term project submission
MS without thesis term project submission
Publication submission with DOI
Publication submission with DOI
Publication submission
Publication submission
Supporting Information
Supporting Information
General Information
General Information
Copyright, Embargo and License
Copyright, Embargo and License
Contact us
Contact us
Querying Beyond Keywords: Translating Natural Language to Elasticsearch DSL with Vector Search Support
Date
2026-01-01
Author
Ozdemir, Aysel Yagmur
Karagöz, Pınar
Toroslu, İsmail Hakkı
Metadata
Show full item record
This work is licensed under a
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
.
Item Usage Stats
11
views
0
downloads
Cite This
Despite Elasticsearch’s popularity in modern search pipelines, translating natural language queries (NLQs) into its domain-specific language (DSL) remains challenging, especially with the integration of semantic vector search. Existing benchmarks primarily focus on keyword-based query translation, overlooking the increasingly essential hybrid scenarios where keyword filters are combined with vector-based similarity retrieval. This paper introduces the first benchmark designed explicitly for evaluating the NLQ-to-Elasticsearch DSL translation in hybrid search contexts. Leveraging a carefully curated subset of the WikiSQL dataset enriched with related Wikipedia text embeddings, our benchmark supports structured queries integrated with dense semantic similarity conditions. Through this approach, we provide a structured and controlled evaluation framework capable of assessing not only the syntactic accuracy of generated Elasticsearch DSL queries but also the semantic reasoning capabilities of Large Language Models (LLMs). Our experiments measure the zero-shot and few-shot performance of state-of-the-art LLMs on hybrid query generation tasks, illuminating their strengths and limitations in capturing complex user intents across keyword-based and vector similarity dimensions. In addition to prompting-based evaluation, we investigate the impact of parameter-efficient fine-tuning on a representative open-source model to assess its potential for narrowing the performance gap with proprietary systems. Two central conclusions emerge from our analysis. First, GPT models generally outperform open-source systems in absolute accuracy and reliability under pure prompting settings. Second, certain open-source models, particularly Qwen2.5-Coder variants, demonstrate substantial few-shot gains, and with parameter-efficient fine-tuning, can significantly reduce this gap, matching or even surpassing GPT-5 under zero-shot prompting on specific query categories. Overall, the proposed benchmark highlights both the current limitations and the untapped potential of open models in hybrid NLQ-to-DSL translation, advancing research toward more expressive and semantically grounded natural-language search interfaces.
Subject Keywords
Elasticsearch
,
Hybrid search
,
Large language models
,
Natural language querying
,
Query translation
,
Semantic search
URI
https://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=105041966213&origin=inward
https://hdl.handle.net/11511/119594
Journal
IEEE Access
DOI
https://doi.org/10.1109/access.2026.3701709
Collections
Department of Computer Engineering, Article
Citation Formats
IEEE
ACM
APA
CHICAGO
MLA
BibTeX
A. Y. Ozdemir, P. Karagöz, and İ. H. Toroslu, “Querying Beyond Keywords: Translating Natural Language to Elasticsearch DSL with Vector Search Support,”
IEEE Access
, pp. 0–0, 2026, Accessed: 00, 2026. [Online]. Available: https://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=105041966213&origin=inward.