Commit f272650 1 parent 39f2666 commit f272650 Copy full SHA for f272650
File tree 1 file changed +6
-0
lines changed
src/main/ml-modules/root/judgments/search
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,12 @@ let $search-options := <options xmlns="http://marklogic.com/appservices/search">
173
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
174
</range>
175
175
</constraint>
176
+ <constraint name = "year" >
177
+ <range type = "xs:gYear" facet = "true" >
178
+ <facet-option>limit=10 </facet-option>
179
+ <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:year</path-index>
180
+ </range>
181
+ </constraint>
176
182
{ $sort-order }
177
183
<extract-document-data xmlns:akn = "http://docs.oasis-open.org/legaldocml/ns/akn/3.0" xmlns:uk = "https://caselaw.nationalarchives.gov.uk/akn" >
178
184
<extract-path>//akn:FRBRWork/akn:FRBRdate</extract-path>
You can’t perform that action at this time.
0 commit comments