diff --git a/src/main/java/eu/openaire/api/mappers/query/DataSourceRequestMapper.java b/src/main/java/eu/openaire/api/mappers/query/DataSourceRequestMapper.java index 2663857..ad0ff17 100644 --- a/src/main/java/eu/openaire/api/mappers/query/DataSourceRequestMapper.java +++ b/src/main/java/eu/openaire/api/mappers/query/DataSourceRequestMapper.java @@ -53,6 +53,7 @@ public interface DataSourceRequestMapper { fqList.add(String.format("oaftype:\"%s\"", "datasource")); fqList.add(String.format("eosctype:\"%s\"", "Data Source")); fqList.add(String.format("deletedbyinference:%s", "false")); + fqList.add(String.format("-status:\"%s\"", "under curation")); if (!Utils.isNullOrEmpty(src.getId())) { fqList.add(String.format(solrFieldMapping.get("id"), Utils.escapeAndJoin(src.getId(), "OR", false, null))); diff --git a/src/main/java/eu/openaire/api/mappers/query/OrganizationRequestMapper.java b/src/main/java/eu/openaire/api/mappers/query/OrganizationRequestMapper.java index 436e3ae..4e40bf0 100644 --- a/src/main/java/eu/openaire/api/mappers/query/OrganizationRequestMapper.java +++ b/src/main/java/eu/openaire/api/mappers/query/OrganizationRequestMapper.java @@ -56,6 +56,7 @@ public interface OrganizationRequestMapper { fqList.add(String.format("deletedbyinference:%s", "false")); fqList.add(String.format("reldatasourcecompatibilityid:(%s)", "\"driver\" OR \"driver-openaire2.0\" OR \"openaire2.0\" OR \"openaire3.0\" OR \"openaire4.0\" OR \"openaire-cris_1.1\" OR \"openaire2.0_data\" OR \"hostedBy\"")); fqList.add(String.format("relproject:%s", "[ * TO * ]")); + fqList.add(String.format("-status:\"%s\"", "under curation")); if (!Utils.isNullOrEmpty(src.getId())) { fqList.add(String.format(solrFieldMapping.get("id"), Utils.escapeAndJoin(src.getId(), "OR", false, null))); diff --git a/src/main/java/eu/openaire/api/mappers/query/ProjectRequestMapper.java b/src/main/java/eu/openaire/api/mappers/query/ProjectRequestMapper.java index 7061078..de8bebe 100644 --- a/src/main/java/eu/openaire/api/mappers/query/ProjectRequestMapper.java +++ b/src/main/java/eu/openaire/api/mappers/query/ProjectRequestMapper.java @@ -53,6 +53,7 @@ public interface ProjectRequestMapper { fqList.add(String.format("oaftype:\"%s\"", "project")); fqList.add(String.format("deletedbyinference:%s", "false")); + fqList.add(String.format("-status:\"%s\"", "under curation")); if (!Utils.isNullOrEmpty(src.getId())) { fqList.add(String.format(solrFieldMapping.get("id"), Utils.escapeAndJoin(src.getId(), "OR", false, null))); diff --git a/src/main/java/eu/openaire/api/mappers/query/ResearchProductsRequestMapper.java b/src/main/java/eu/openaire/api/mappers/query/ResearchProductsRequestMapper.java index 6f63540..33cb413 100644 --- a/src/main/java/eu/openaire/api/mappers/query/ResearchProductsRequestMapper.java +++ b/src/main/java/eu/openaire/api/mappers/query/ResearchProductsRequestMapper.java @@ -69,6 +69,7 @@ public interface ResearchProductsRequestMapper { fqList.add(String.format("oaftype:\"%s\"", "result")); fqList.add(String.format("deletedbyinference:%s", "false")); + fqList.add(String.format("-status:\"%s\"", "under curation")); if (!Utils.isNullOrEmpty(src.getId())) { fqList.add(String.format(solrFieldMapping.get("id"), Utils.escapeAndJoin(src.getId(), "OR", false, null)));