From 78cabcb10754f9ea0dc2a2d111229bb5f3516a71 Mon Sep 17 00:00:00 2001 From: luke Date: Wed, 21 May 2025 18:01:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0es=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/{99-常用es查询.http => 99-常用es语句.http} | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) rename config/{99-常用es查询.http => 99-常用es语句.http} (89%) diff --git a/config/99-常用es查询.http b/config/99-常用es语句.http similarity index 89% rename from config/99-常用es查询.http rename to config/99-常用es语句.http index 3c1782d..becf5b9 100644 --- a/config/99-常用es查询.http +++ b/config/99-常用es语句.http @@ -5,7 +5,6 @@ #} # 表示 (设计模式 AND Luke.Ye) POST /documents/_search - { "query": { "bool": { @@ -43,7 +42,13 @@ POST /documents/_search "from": 0 } - - +# 清空索引中的全部内容 +POST /documents/_delete_by_query + +{ + "query": { + "match_all": {} + } +}