Liking cljdoc? Tell your friends :D

lucene-query

A parser for Apache Lucene Classic Queries.

Clojars Project

Usage

(require '[lucene-query.core :as lucene])
(lucene/str->ast "field1:val AND -field2:val") ;; => [:query [:clause [:field [:term "field1"]] [:value [:term "val"]]] [:and] [:clause [:must-not] [:field [:term "field2"]] [:value [:term "val"]]]]

License

Copyright © 2019 Gregor Middell

This project is licensed under the GNU Lesser General Public License v3.0.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close