Usage
ml.add.index(x, scalarType = "string", collation = "http://marklogic.com/collation/", namespaceUri = "", database = "Documents", host = "", port = "8002", adminuser = "", password = "", conn = NA)
Arguments
x
a ml.data.frame field that the index will be created on
scalarType
An atomic type specification. "string" is default
collation
For scalarType = string, you can use a different collation than the default. Default is "http://marklogic.com/collation/"
namespaceUri
The namespace URI of the XML element, if JSON ignore. Default is empty.
database
The name of the database to create the index in. "Documents" is default.
host
The hostname or ipadress of the MarkLogic Manage server. Default is the same as used for conn
port
The port number of the MarkLogic Manage server. 8002 is used default
adminuser
The username of a user that have rights to create index. Default is the same as used for conn
password
The password. Default is the same as used for conn.
conn
A ml.conn-class with a connection to a MarkLoic server. Optional.