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