Skip to content
Snippets Groups Projects
Commit 4576d218 authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

Use field for things now

parent ae48aee2
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ public class SetDeliverer {
else if (this.dariah) {
Script collectionID = new Script("doc['administrativeMetadata.dcterms:identifier']");
// Do filter all collections (via descriptiveMetadata.dc:format) AND
// get out all the child objects and collections (NO descriptiveMetadata.dc:relation),
// so we get exactly one set per root collection only!
......@@ -137,6 +137,7 @@ public class SetDeliverer {
AggregationBuilder collectionFilterTerm =
AggregationBuilders.terms(DH_COLLECTION_FILTER_TERM_NAME)
.field("administrativeMetadata.dcterms:identifier")
// .script(collectionID)
.size(DH_SIZE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment