MarkLogic 9 Product Documentation
search:get-default-options

search:get-default-options() as element(search:options)

Summary

This function returns the default options XML. Default options do not contain any constraints or anything else that requires specific index settings.

Example

xquery version "1.0-ml";
import module namespace search = "http://marklogic.com/appservices/search"
    at "/MarkLogic/appservices/search/search.xqy";

search:get-default-options()

=>

<options xmlns="http://marklogic.com/appservices/search">
  ...
</options>

      
Powered by MarkLogic Server | Terms of Use | Privacy Policy