From e7b5f0ea7dc715897693605bda8476571500ef37 Mon Sep 17 00:00:00 2001 From: YANGDB Date: Thu, 3 Oct 2024 17:50:51 -0700 Subject: [PATCH] update fields & where docs Signed-off-by: YANGDB --- docs/ppl-lang/ppl-fields-command.md | 9 ++++----- docs/ppl-lang/ppl-where-command.md | 1 - 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/ppl-lang/ppl-fields-command.md b/docs/ppl-lang/ppl-fields-command.md index cb67865dc..e37fc644f 100644 --- a/docs/ppl-lang/ppl-fields-command.md +++ b/docs/ppl-lang/ppl-fields-command.md @@ -1,12 +1,11 @@ -# PPL `fields` command +## PPL `fields` command -Description -============ +**Description** Using ``field`` command to keep or remove fields from the search result. -Syntax -============ +**Syntax** + field [+|-] * index: optional. if the plus (+) is used, only the fields specified in the field list will be keep. if the minus (-) is used, all the fields specified in the field list will be removed. **Default** + diff --git a/docs/ppl-lang/ppl-where-command.md b/docs/ppl-lang/ppl-where-command.md index 73f3fbd94..f6f069f11 100644 --- a/docs/ppl-lang/ppl-where-command.md +++ b/docs/ppl-lang/ppl-where-command.md @@ -10,7 +10,6 @@ The ``where`` command bool-expression to filter the search result. The ``where`` * bool-expression: optional. any expression which could be evaluated to boolean value. ### Example 1: Filter result set with condition -=========================================== The example show fetch all the document from accounts index with .