From f48e125ba98cbb1b248a2a655e5dc64517b64659 Mon Sep 17 00:00:00 2001 From: Marcos Lopez Gonzalez Date: Fri, 16 Aug 2024 21:10:01 +0200 Subject: [PATCH] fixed fulltext search descriptors --- .../persistence/mapper/collections/DescriptorsMapper.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/registry-persistence/src/main/resources/org/gbif/registry/persistence/mapper/collections/DescriptorsMapper.xml b/registry-persistence/src/main/resources/org/gbif/registry/persistence/mapper/collections/DescriptorsMapper.xml index c4946bfaf..3bf492164 100644 --- a/registry-persistence/src/main/resources/org/gbif/registry/persistence/mapper/collections/DescriptorsMapper.xml +++ b/registry-persistence/src/main/resources/org/gbif/registry/persistence/mapper/collections/DescriptorsMapper.xml @@ -36,7 +36,6 @@ JOIN to_tsquery('english',regexp_replace(quote_literal(unaccent(trim(#{params.query}))),'\s+',':*&','g')||':*') - AS query ON query @@ fulltext_search @@ -84,7 +83,7 @@ FROM collection_descriptor_group ds - + AS query ON query @@ ds.fulltext_search @@ -188,7 +187,7 @@ FROM collection_descriptor d INNER JOIN collection_descriptor_group ds ON ds.key = d.collection_descriptor_group_key AND ds.deleted IS NULL - + AS query ON query @@ d.fulltext_search