Add extra default filters for organizations

This commit is contained in:
Serafeim Chatzopoulos 2024-04-29 19:25:30 +03:00
parent 8679c3f351
commit 1f52400de0
1 changed files with 2 additions and 0 deletions
src/main/java/eu/openaire/api/mappers/query

View File

@ -62,6 +62,8 @@ public interface OrganizationRequestMapper {
fqList.add(String.format("oaftype:\"%s\"", "organization"));
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 * ]"));
// TODO: add other filters by default?