From b85a172184cd40bb58961ea7e022190abb8f6cea Mon Sep 17 00:00:00 2001 From: Florent Gravin Date: Tue, 11 Jun 2024 16:40:14 +0200 Subject: [PATCH] geocat: do not exclude services or maps in search --- .../src/lib/gn4/elasticsearch/elasticsearch.service.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts b/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts index e02d0c14e..291eaeca2 100644 --- a/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +++ b/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts @@ -304,7 +304,6 @@ export class ElasticsearchService { return { bool: { must, - must_not, should, filter, }, @@ -353,14 +352,6 @@ export class ElasticsearchService { }, }, ], - must_not: { - ...this.queryFilterOnValues('resourceType', [ - 'service', - 'map', - 'map/static', - 'mapDigital', - ]), - }, }, }, _source: ['resourceTitleObject', 'uuid'],