Skip to content

Commit 39f2666

Browse files
committed
Add range path index for uk:year
This index will be used for year-based faceted searches. Signed-off-by: Cristina <[email protected]>
1 parent 9184564 commit 39f2666

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/ml-config/databases/content-database.json

+5
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
"collation" : "http://marklogic.com/collation/",
2727
"range-value-positions" : false,
2828
"invalid-values": "ignore"
29+
}, {
30+
"scalar-type": "gYear",
31+
"path-expression" : "//akn:proprietary/uk:year",
32+
"range-value-positions" : false,
33+
"invalid-values": "ignore"
2934
} ],
3035
"range-element-index": [ {
3136
"scalar-type" : "dateTime",

0 commit comments

Comments
 (0)