File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,28 @@ as empty-sequence()
194194 if (empty ($index-specs)) then $c
195195 else admin:database-add-range-field-index ($c, $dbid, $index-specs)
196196
197+ let $index-specs := admin:database-range-path-index (
198+ $dbid,
199+ "string" ,
200+ "com.marklogic.client.test.Country/continent" ,
201+ "http://marklogic.com/collation/" ,
202+ fn:false (),
203+ "ignore" )
204+ let $c :=
205+ if (empty ($index-specs)) then $c
206+ else admin:database-add-range-path-index ($c, $dbid, $index-specs)
207+
208+ let $index-specs := admin:database-range-path-index (
209+ $dbid,
210+ "unsignedLong" ,
211+ "com.marklogic.client.test.City/population" ,
212+ (),
213+ fn:false (),
214+ "ignore" )
215+ let $c :=
216+ if (empty ($index-specs)) then $c
217+ else admin:database-add-range-path-index ($c, $dbid, $index-specs)
218+
197219 return admin:save-configuration-without-restart ($c)
198220};
199221
You can’t perform that action at this time.
0 commit comments