MarkLogic 10 Product Documentation
op functions (Data Access Functions)

The following functions are used to access data persisted in the row triple, triple, and lexicon indexes as well as literal row sets constructed in the program.

For more information, see Data Access Functions in the Application Developer's Guide

8 functions
Function name Description
op.fromLexicons This function dynamically constructs a view from range indexes or the uri or collection lexicons.
op.fromLiterals Constructs a literal row set as in the SQL VALUES or SPARQL VALUES statements.
op.fromSearch This function dynamically constructs a row set based on a cts.query where the columns for the document fragment id and score reflecting the degree of match of the document with the query criteria.
op.fromSearchDocs This function matches and returns the uri, content, and score for documents.
op.fromSPARQL This function dynamically constructs a row set based on a SPARQL SELECT query from triples.
op.fromSQL This function dynamically constructs a row set based on a SQL SELECT query from views.
op.fromTriples Reads rows by matching patterns in the triple index.
op.fromView This function reads a row set from a configured view over TDE-indexed rows or a predefined view over range indexes.
Powered by MarkLogic Server | Terms of Use | Privacy Policy