瀏覽代碼

Docs: add example with filter in ES template

Henri DF 10 年之前
父節點
當前提交
5af3fe93f2
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      docs/sources/datasources/elasticsearch.md

+ 5 - 0
docs/sources/datasources/elasticsearch.md

@@ -77,6 +77,11 @@ The Elasticsearch datasource supports two types of queries you can use to fill t
 {"find": "fields", "type": "string"}
 ```
 
+### Fields filtered by type, with filter
+```json
+{"find": "fields", "type": "string", "query": <lucene query>}
+```
+
 ### Multi format / All format
 Use lucene format.