From e1bc31e27e49e221efb0e5bb2c97faf3b5728ab2 Mon Sep 17 00:00:00 2001 From: Pascal Seitz Date: Mon, 3 Aug 2026 10:45:51 +0200 Subject: [PATCH] docs: document exists query syntax --- src/query/query_parser/query_parser.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/query/query_parser/query_parser.rs b/src/query/query_parser/query_parser.rs index 694acb3f4..3c5d9cf82 100644 --- a/src/query/query_parser/query_parser.rs +++ b/src/query/query_parser/query_parser.rs @@ -181,6 +181,10 @@ fn trim_ast(logical_ast: LogicalAst) -> Option { /// `"2002-10-02T15:00:00.05Z"` or `some_date_field:[2002-10-02T15:00:00Z TO /// 2002-10-02T18:00:00Z}` /// +/// * exists query: `field:*` will match documents that contain a non-null value in the specified +/// field. The field must be configured as a fast field. For JSON fields, values in subpaths also +/// count as existing. +/// /// * all docs query: A plain `*` will match all documents in the index. /// /// Parts of the queries can be boosted by appending `^boostfactor`.