Skip to content
forked from jurismarches/luqum

A lucene query parser generating ElasticSearch queries and more !

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE.Apache2
LGPL-3.0
LICENSE.LGPLv3
Notifications You must be signed in to change notification settings

kshitij91/luqum

 
 

luqum - A lucene query parser in Python, using PLY

Latest PyPI version Documentation Status travis coveralls

logo

"luqum" (as in LUcene QUery Manipolator) is a tool to parse queries written in the Lucene Query DSL and build an abstract syntax tree to inspect, analyze or otherwise manipulate search queries.

It enables enriching the Lucene Query DSL meanings (for example to support nested object searches or have particular treatments on some fields), and transform lucene DSL queries to native ElasticSearch JSON DSL

Thanks to luqum, your users may continue to write queries like: author.last_name:Smith OR author:(age:[25 TO 34] AND first_name:John) and you will be able to leverage ElasticSearch query DSL, and control the precise meaning of each search terms.

Luqum is dual licensed under Apache2.0 and LGPLv3.

Compatible with Python 3.4+

Installation

pip install luqum

Dependencies

PLY >= 3.11

Full documentation

http://luqum.readthedocs.org/en/latest/

About

A lucene query parser generating ElasticSearch queries and more !

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE.Apache2
LGPL-3.0
LICENSE.LGPLv3

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Makefile 0.1%