[GeoNetwork-devel] Clarification about adding a new keyword classifier

Hi List,

In GeoNetwork 3.10, I’ve added a custom search facet on the home page and search tab, based on a custom thesaurus, following the instructions in https://github.com/geonetwork/core-geonetwork/wiki/201411HierarchicalFacetSupport.

This all works- I can use the thesaurus when editing records, I can see the search facet in the search tab, and I can see the additional browse by facet on the home page.

I have, however, noticed that if I add a free text keyword to a record that matches one of the terms in my thesaurus, then it is included in the search facet. Is this expected behaviour or am I missing something? Ideally I want only keywords that are added from the thesaurus to be shown in the facet.

You can see the changes I’ve made to the code in the last few commits on https://github.com/AstunTechnology/custom-geonetwork/commits/os-browseby-change

Thanks

Jo

···

Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For urgent responses at that time, please visit support.astuntechnology.com or phone our office on 01372 744009