@@ -1339,6 +1339,23 @@ function patchDocuments() {
13391339 return mlrest . startRequest ( operation ) ;
13401340}
13411341
1342+ /**
1343+ * For a partial textual value in a string search, looks up completions
1344+ * that match documents in the database. The textual value may be
1345+ * prefixed with the tag for a binding or an unqualified word or phrase.
1346+ * You may pass a configuration object with
1347+ * the following named parameters or, as a shortcut, the input string and
1348+ * optionally the bindings.
1349+ * @method documents#suggest
1350+ * @param {string } input - the partial search string
1351+ * @param {queryBuilder.ParseBindings } [bindings] - the bindings for
1352+ * the string search as returned by the {@link queryBuilder#parseBindings}
1353+ * function
1354+ * @param {number } [limit] - the number of completion candidates to return
1355+ * @returns {ResultProvider } an object whose result() function takes
1356+ * a success callback that receives an array with the candidate completion
1357+ * strings.
1358+ */
13421359function suggestDocuments ( ) {
13431360 var argLen = arguments . length ;
13441361 if ( argLen < 1 ) {
@@ -1436,6 +1453,7 @@ persisted query options
14361453 return mlrest . startRequest ( operation ) ;
14371454}
14381455
1456+ /** @ignore */
14391457function copyConstraint ( destination , constraints ) {
14401458 if ( valcheck . isArray ( constraints ) ) {
14411459 var isCopyKey = {
0 commit comments