Skip to content

Commit

Permalink
Add natureOfContent.label to word query
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg authored and dr0i committed Nov 24, 2020
1 parent 3e04b7e commit 7d23ab6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions web/app/controllers/resources/Queries.java
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ public List<String> fields() {
fields.add("subject.label");
fields.add("subject.componentList.label");
fields.add("subjectAltLabel");
fields.add("natureOfContent.label");
return fields;
}

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 @@ -88,7 +88,8 @@ public static Collection<Object[]> data() {
{ "\"Zeitzeuge und Kleinod in Harsewinkel\"", /*->*/ 1},
{ "(+Zeitzeuge +und +Kleinod +in +Harsewinkel)", /*->*/ 1},
{ "\"Mülheim an der Ruhr\"", /*->*/ 1},
{ "(+Mülheim +an +der +Ruhr)", /*->*/ 1}
{ "(+Mülheim +an +der +Ruhr)", /*->*/ 1},
{ "\"Amtliche Publikation\"", /*->*/ 3}
});
} // @formatter:on

Expand Down

0 comments on commit 7d23ab6

Please sign in to comment.