Loading TOC...

MarkLogic Server 11.0 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 XQuery code, include an import statement similar to following line in your code:

                   import module namespace qbe = "http://marklogic.com/appservices/querybyexample"
                       at "/MarkLogic/appservices/search/qbe.xqy";
               
2 functions
Function name Description
qbe:by-example This function transforms a query by example into a cts:query object.
qbe:validate This function validates a query by example.