
admin:database-range-field-index( $scalar-type as xs:string, $fieldname as xs:string, $collation as xs:string?, $range-value-positions as xs:boolean, [$invalid-values as xs:string] ) as element(db:range-field-index)
This function constructs a range field index specification.
xquery version "1.0-ml";
import module namespace admin = "http://marklogic.com/xdmp/admin"
at "/MarkLogic/admin.xqy";
admin:database-range-field-index("string", "fieldname",
"http://marklogic.com/collation/",
fn:false() )
(: returns the range field index specification :)