Skip to content

Commit

Permalink
Indexing / Add related record title to the full text search (geonetwo…
Browse files Browse the repository at this point in the history
…rk#7437)

Some catalogues link records to others which can be in the same catalogue or in remote sites.

Links are encoded using 
```xml
<gmd:source uuidref="https://ec.europa.eu/eurostat/cache/metadata/en/env_nwat_esms.htm"
 xlink:title="Water statistics on national level (env_nwat)" 
xlink:href="https://ec.europa.eu/eurostat/cache/metadata/en/env_nwat_esms.htm"/>
```
and the `xlink:title` may contain the remote record title (or the customized title cf. geonetwork#7324)

This adds the related records title to the full text search.

Sample record
https://sdi.eea.europa.eu/catalogue/srv/eng/catalog.search#/metadata/04b55edf-9a98-4123-87ab-7845af61d07d
With that change searching for `env_nwat` will return the record due to the source dataset.
  • Loading branch information
fxprunayre authored Oct 25, 2023
1 parent 61df1e5 commit bc9f226
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,8 @@
"type": "keyword"
},
"title": {
"type": "keyword"
"type": "keyword",
"copy_to": "any.common"
},
"origin": {
"type": "keyword"
Expand Down

0 comments on commit bc9f226

Please sign in to comment.