In MarkLogic REST API /v1/suggest
, I can use constraint defined in persisted query options in partial-q
. I am not sure how to accomplish the same task using the MarkLogic NodeJS client. According to the documentation, it seems the only way I can reference persisted query options is through combined query. I see it works for document search, but I don't know if and how it would work for suggest.
https://docs.marklogic.com/guide/node-dev/search#id_57610
Thank you!
Document.suggest
method does not passoptionsName
to the underneath REST API as theDocument.query
method does. – Fan Li