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

mc

parent 5ace0740
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,6 @@ import info.textgrid.middleware.common.TextGridMimetypes;
public class SetDeliverer {
private static final int DH_SIZE = 100000;
private static final int TG_SIZE = 1000;
private static final String DH_COLLECTION_FILTER_NAME = "collectionFilter";
private static final String DH_COLLECTION_FILTER_TERM_NAME = "collectionFilterTerm";
......@@ -113,7 +112,7 @@ public class SetDeliverer {
AggregationBuilder projectNameAndID = AggregationBuilders.terms("projects")
.script(mergeProjectIDandProjectName)
.size(TG_SIZE);
.size(1000);
filterPublicProjects.subAggregation(projectNameAndID);
// >>>>>>> feature/elastic6
......@@ -138,7 +137,7 @@ public class SetDeliverer {
AggregationBuilder collectionFilterTerm =
AggregationBuilders.terms(DH_COLLECTION_FILTER_TERM_NAME)
.script(collectionID)
// .script(collectionID)
.size(DH_SIZE);
collectionFilter.subAggregation(collectionFilterTerm);
......
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