Parcourir la source

Merge pull request #3636 from henridf/docs-es-filter-in-template

Docs: add example with filter in ES template
Carl Bergquist il y a 10 ans
Parent
commit
5c0812ab6f
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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.