MarkLogic 10 Product Documentation
qbe functions (Query By Example)

This is the QBE (Query By Example) module, which provides functions for constructing a simple query based on an example document with fragments from the documents to match.

To use this module in your Server-Side JavaScript code, include an require() call similar to following line in your code:

                   const qbe = require('/MarkLogic/appservices/search/qbe.xqy');
               
2 functions
Function name Description
qbe.byExample This function transforms a query by example into a cts.query object.
qbe.validate This function validates a query by example.
Powered by MarkLogic Server | Terms of Use | Privacy Policy