Skip to content

Commit

Permalink
Add exampleOfWork.language.id to index (#1823)
Browse files Browse the repository at this point in the history
  • Loading branch information
dr0i committed Feb 19, 2024
1 parent 42806d5 commit 7214b0f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/main/resources/alma/index-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,17 @@
},
"creatorOfWork": {
"type": "text"
},
"language": {
"properties": {
"id": {
"type": "keyword"
},
"label": {
"type": "text",
"index": false
}
}
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion web/test/tests/IndexIntegrationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ public static Collection<Object[]> 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

Expand Down

0 comments on commit 7214b0f

Please sign in to comment.