Skip to content
Browse files

Update change log

  • Loading branch information...
1 parent 1f03772 commit d26cd539c24a69e0ee31bac80d909e05d1d562f7 @michaelklishin michaelklishin committed Sep 10, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 ChangeLog.md
View
16 ChangeLog.md
@@ -1,5 +1,21 @@
## Changes between Elastisch 1.0.0-rc1 and 1.0.0-rc2
+### Query Validation Support
+
+`clojurewerkz.elastisch.rest.document/validate-query` is a new function that implements support for the [Validation API](http://www.elasticsearch.org/guide/reference/api/validate.html):
+
+``` clojure
+(require '[clojurewerkz.elastisch.rest.document :as doc])
+(require '[clojurewerkz.elastisch.query :as q])
+(require '[clojurewerkz.elastisch.rest.response :as r])
+
+(let [response (doc/validate-query "myproduct_development" (q/field "latest-edit.author" "Thorwald") :explain true)]
+ (println response)
+ (println (r/valid? response)))
+```
+
+Query validation does not execute the query.
+
### Percolation Support
`clojurewerkz.elastisch.rest.percolation` is a new namespace with functions that implement the [Percolation API](http://www.elasticsearch.org/guide/reference/api/percolate.html).

0 comments on commit d26cd53

Please sign in to comment.
Something went wrong with that request. Please try again.