[MarkLogic Dev General] determining which indexes exist for a database

Alan Darnell alan.darnell at utoronto.ca
Fri Feb 22 10:18:30 PST 2008


Is there an API that can be used to scope out what indexes and/or  
lexicons have been defined for any particular database?  For instance,  
if you have a URI lexicon enabled, then it might be faster to use  
cts:uri-match than some other method to determine if a URI already  
exists in the database.  It would be nice to write portable code,  
however, that could adjust to whatever was available for a database.

Alan


More information about the General mailing list