From 06c44ecbff56b028c4402b558f7c6ad9be144427 Mon Sep 17 00:00:00 2001 From: Selivanov Pavel Date: Mon, 3 Jun 2019 19:51:18 +0300 Subject: [PATCH] Fix query_string syntax in writing_filters.rst --- docs/source/recipes/writing_filters.rst | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/docs/source/recipes/writing_filters.rst b/docs/source/recipes/writing_filters.rst index e923b89a5..78cc6b019 100644 --- a/docs/source/recipes/writing_filters.rst +++ b/docs/source/recipes/writing_filters.rst @@ -28,18 +28,14 @@ The query_string type follows the Lucene query format and can be used for partia See http://lucene.apache.org/core/2_9_4/queryparsersyntax.html for more information:: filter: - - query: - query_string: - query: "username: bob" - - query: - query_string: - query: "_type: login_logs" - - query: - query_string: - query: "field: value OR otherfield: othervalue" - - query: - query_string: - query: "this: that AND these: those" + - query_string: + query: "username: bob" + - query_string: + query: "_type: login_logs" + - query_string: + query: "field: value OR otherfield: othervalue" + - query_string: + query: "this: that AND these: those" term ****