1

I have configured a facet for my custom thesaurus, which works well. But I could not find a solution to display a custom name for the search facet. I have configured the facet through the UI. Here is the JSON:

"th_thema_thesaurus_tree.default": {
    "terms": {
      "field": "th_thema_thesaurus_tree.default",
      "size": 100,
      "order": {
        "_key": "asc"
      }
    }
  }

Is there a way to add a label or title or something? I have tried using the meta-section, but I did not work.

I am using docker-image of geonetwork 4.2.

Screenshot

1 Answer 1

0

In Geonetwork 4.4 under Settings/User Interface/Facets Configuration, you need to add a meta field with the labels attribute and also define the languages, e.g.

  "th_thema_thesaurus_tree.default": {
    "terms": {
      "field": "th_thema_thesaurus_tree.default",
      "size": 100,
      "order": {
        "_key": "asc"
      }
    },
    "meta": {
      "labels": {
        "eng": "Topic",
        "ger": "Thema"
      }
    }
  }
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.