Here's a quick script to create multiple element range indexes on a MarkLogic database, just set the $db-name variable:
Then pass in a sequence of xs:strings or a single xs:string like so:
For each index, it will report back whether the index was successfully created or not, like so:
Or:
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2010
(43)
-
▼
September
(7)
- MarkLogic: Creating Multiple Range Element Indexes
- MarkLogic: Listing all Collections in a Database
- MarkLogic: Basic Database Cloning Script
- MarkLogic: Estimating the number of documents cont...
- MarkLogic: Search: Compound OR Queries
- MarkLogic: XQuery: Check for the presence of an el...
- MarkLogic: XQuery: Type Validation using xsi:type
-
▼
September
(7)
No comments:
Post a Comment