File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,12 @@ assert len(docs) == 1
55
55
The search string in the example corresponds to the ` q ` argument, which is the first argument in the method and thus
56
56
does not need to be named.
57
57
58
+ With a search string, you may wish to reference a set of
59
+ [ MarkLogic search options] ( https://docs.marklogic.com/guide/search-dev/query-options ) as well. You can configure a set
60
+ of options via the [ MarkLogic REST API] ( https://docs.marklogic.com/guide/rest-dev/search#id_48838 ) and then refer to
61
+ them by name via the ` options ` argument. For example, if your options are named ` myOptions ` , you would
62
+ include ` options=myOptions ` as an argument to ` client.documents.search ` .
63
+
58
64
## Searching via a complex query
59
65
60
66
More complex queries can be submitted via the ` query ` parameter. The value of this parameter must be one of the
You can’t perform that action at this time.
0 commit comments