core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

Index / Schema / First field match in mapping

Open fxprunayre opened this issue 3 years ago • 1 comments

As we provide dynamic mapping on a number of fields, more than one match rule can match. In such case, the first one declared in schema takes priority (and could trigger Elasticsearch error eg. when object is provided and keyword is expected - if a thesaurus end up considered as an Org).

Move *Org* rule to the bottom. th_* is more specific and a thesaurus with Org in key should not be matched to an Org field.

fxprunayre avatar Jul 21 '22 13:07 fxprunayre

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Jul 21 '22 13:07 sonarqubecloud[bot]