浏览代码

Fixed broken xrefs to query-dsl-not-query, which has been removed.

debadair 10 年之前
父节点
当前提交
69acde33c2

+ 1 - 1
docs/reference/query-dsl.asciidoc

@@ -20,7 +20,7 @@ Compound query clauses::
 Compound query clauses wrap other leaf *or* compound queries and are used to combine
 multiple queries in a logical fashion (such as the
 <<query-dsl-bool-query,`bool`>> or <<query-dsl-dis-max-query,`dis_max`>> query),
-or to alter their behaviour (such as the <<query-dsl-not-query,`not`>> or
+or to alter their behaviour (such as the
 <<query-dsl-constant-score-query,`constant_score`>> query).
 
 Query clauses behave differently depending on whether they are used in

+ 0 - 2
docs/reference/query-dsl/compound-queries.asciidoc

@@ -48,5 +48,3 @@ include::dis-max-query.asciidoc[]
 include::function-score-query.asciidoc[]
 include::boosting-query.asciidoc[]
 include::indices-query.asciidoc[]
-include::not-query.asciidoc[]
-

+ 6 - 3
docs/reference/redirects.asciidoc

@@ -80,9 +80,7 @@ in ``query context'' and as a filter in ``filter context'' (see <<query-dsl>>).
 [role="exclude",id="query-dsl-not-filter"]
 === Not Filter
 
-The `not` filter has been replaced by the <<query-dsl-not-query>>.  It behaves
-as a query in ``query context'' and as a filter in ``filter context'' (see
-<<query-dsl>>).
+The `not` query has been replaced by using a `mustNot` clause in a Boolean query.
 
 [role="exclude",id="query-dsl-bool-filter"]
 === Bool Filter
@@ -443,3 +441,8 @@ parameter of search requests.
 
 The `limit` filter is replaced in favour of the <<search-request-body,terminate_after>>
 parameter of search requests.
+
+[role="exclude",id="query-dsl-not-query"]
+=== Not query
+
+The `not` query has been replaced by using a `mustNot` clause in a Boolean query.