Luqum is a Python library for parsing Lucene query expressions and converting them into structured Elasticsearch DSL queries. It helps developers safely interpret, transform, and analyze Lucene style search syntax without hand rolling parsers.
Luqum is a Python library that parses queries written in the Lucene Query DSL and builds an abstract syntax tree for inspecting, analyzing, or manipulating those queries. It can transform Lucene DSL queries into native ElasticSearch JSON DSL queries, and it allows enriching the meaning of Lucene query syntax, such as supporting nested object searches or applying particular treatments to specific fields.
It is intended for developers working with search systems who want users to continue writing queries in Lucene syntax while controlling how those queries are translated and interpreted for ElasticSearch. The library is dual licensed under Apache 2.0 and LGPLv3, requires Python 3.10+, depends on PLY >= 3.11, and is installable via pip.
Luqum parses queries written in the Lucene Query DSL and builds an abstract syntax tree so they can be inspected, analyzed, or manipulated, including conversion to ElasticSearch's native JSON DSL.
Luqum is a Python library compatible with Python 3.10+.
It can be installed via pip using 'pip install luqum', and it depends on PLY >= 3.11.
Yes, it is open source and dual licensed under Apache 2.0 and LGPLv3.
It is for developers who need to let users write Lucene-style search queries while controlling how those queries map to ElasticSearch, such as supporting nested object searches or custom field behavior.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
UI components with variants.
A marketplace of fully responsive, multi-purpose UI kits, built with Tailwind CSS, for start-ups and products of any kind.
A smooth scroll library fresh out of darkroom.engineering.
React components and hooks library with native dark theme support and focus on usability, accessibility and developer experience.
Streaming Markdown renderers for AI chat interfaces across Vue, React, Svelte, Angular, Nuxt, and Next.js, with diagrams, math, code, and safe HTML.
Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams build high quality digital experiences.