Commit 9184564 1 parent 5b131bd commit 9184564 Copy full SHA for 9184564
File tree 2 files changed +16
-0
lines changed
ml-modules/root/judgments/search
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 5
5
"path-namespace" : [ {
6
6
"prefix" : " akn" ,
7
7
"namespace-uri" : " http://docs.oasis-open.org/legaldocml/ns/akn/3.0"
8
+ },
9
+ {
10
+ "prefix" : " uk" ,
11
+ "namespace-uri" : " https://caselaw.nationalarchives.gov.uk/akn"
8
12
} ],
9
13
"range-path-index" : [ {
10
14
"scalar-type" : " date" ,
16
20
"path-expression" : " akn:akomaNtoso/akn:judgment/akn:meta/akn:identification/akn:FRBRManifestation/akn:FRBRdate[@name='transform']/@date" ,
17
21
"range-value-positions" : false ,
18
22
"invalid-values" : " ignore"
23
+ }, {
24
+ "scalar-type" : " string" ,
25
+ "path-expression" : " //akn:proprietary/uk:court" ,
26
+ "collation" : " http://marklogic.com/collation/" ,
27
+ "range-value-positions" : false ,
28
+ "invalid-values" : " ignore"
19
29
} ],
20
30
"range-element-index" : [ {
21
31
"scalar-type" : " dateTime" ,
Original file line number Diff line number Diff line change @@ -167,6 +167,12 @@ let $scope := 'documents'
167
167
let $search-options := <options xmlns = "http://marklogic.com/appservices/search" >
168
168
<fragment-scope>{ $scope }</fragment-scope>
169
169
<search-option>unfiltered</search-option>
170
+ <constraint name = "court" >
171
+ <range type = "xs:string" facet = "true" >
172
+ <facet-option>limit=10 </facet-option>
173
+ <path-index xmlns:akn = "http://docs.oasis-open.org/legaldocml/ns/akn/3.0" xmlns:uk = "https://caselaw.nationalarchives.gov.uk/akn" >//akn:proprietary/uk:court</path-index>
174
+ </range>
175
+ </constraint>
170
176
{ $sort-order }
171
177
<extract-document-data xmlns:akn = "http://docs.oasis-open.org/legaldocml/ns/akn/3.0" xmlns:uk = "https://caselaw.nationalarchives.gov.uk/akn" >
172
178
<extract-path>//akn:FRBRWork/akn:FRBRdate</extract-path>
You can’t perform that action at this time.
0 commit comments