Skip to content

Commit c4b19b7

Browse files
[DOC-12432] Document Usage of {"ctl": { "validate" : true }, } for Search Queries (#302)
* [DOC-12432] Clarifying search_after and search_before behaviour, along with sorting and general pagination tips. Adding documentation on the new validate object - in search-request-params and as examples in the simple-search topics. Adding query results to the example in the REST API topic, and expanding on what those results mean. Fixing error in field path in the example full-request. * Add 7.6.4 version labels for validate property --------- Co-authored-by: Sarah Welton <[email protected]>
1 parent 40f8b66 commit c4b19b7

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

modules/search/pages/search-request-params.adoc

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,9 +1967,6 @@ include::example$run-search-full-request.jsonc[tag=ctl]
19671967

19681968
In Couchbase Server 7.6.4 and later, you can also use the `ctl` object with the `validate` property to add an extra check to your queries and get help troubleshooting when a query does not return results.
19691969

1970-
The `ctl` object can contain the following properties:
1971-
In Couchbase Server 7.6.4 and later, you can also use the `ctl` object with the `validate` property to add an extra check to your queries and get help troubleshooting when a query does not return results.
1972-
19731970
The `ctl` object can contain the following properties:
19741971

19751972
[cols="1,1,1,4"]
@@ -2001,18 +1998,6 @@ For example, the Search Service can tell you through the Web Console or the REST
20011998
err: query_validate: field not indexed, field: ratings.Cleanliness, type: number
20021999
----
20032000

2004-
|[[validate]]validate |Boolean |No a|
2005-
2006-
[.status]#Couchbase Server 7.6.4#
2007-
2008-
Add the `validate` property with a value of `true` to add extra validation checks to your Search query.
2009-
2010-
For example, the Search Service can tell you through the Web Console or the REST API that a field in your Search query is not in your Search index:
2011-
2012-
----
2013-
err: query_validate: field not indexed, field: ratings.Cleanliness, type: number
2014-
----
2015-
20162001
|====
20172002

20182003
[#consistency]

0 commit comments

Comments
 (0)