diff --git a/src/main/resources/alma/index-config.json b/src/main/resources/alma/index-config.json index f82798a55..7ea2b8fb3 100644 --- a/src/main/resources/alma/index-config.json +++ b/src/main/resources/alma/index-config.json @@ -539,6 +539,17 @@ }, "creatorOfWork": { "type": "text" + }, + "language": { + "properties": { + "id": { + "type": "keyword" + }, + "label": { + "type": "text", + "index": false + } + } } } }, diff --git a/web/test/tests/IndexIntegrationTest.java b/web/test/tests/IndexIntegrationTest.java index 272ba809a..f32043bb6 100644 --- a/web/test/tests/IndexIntegrationTest.java +++ b/web/test/tests/IndexIntegrationTest.java @@ -132,7 +132,8 @@ public static Collection data() { { "contribution.agent.altLabel.digibib:Nemačke", /*->*/ 1 }, { "contribution.agent.altLabel.digibib:Nemack", /*->*/ 1 }, { "contribution.agent.altLabel.digibib_unstemmed:Nemačke", /*->*/ 1 }, - { "contribution.agent.altLabel.digibib_unstemmed:Nemack", /*->*/ 0 } + { "contribution.agent.altLabel.digibib_unstemmed:Nemack", /*->*/ 0 }, + { "exampleOfWork.language.id:\"http\\://id.loc.gov/vocabulary/iso639-2/eng\"", /*->*/ 1 } }); } // @formatter:on