Closed Robsteranium closed 3 years ago
Looks like this is caused by ook.search.elastic.codes
not expecting codes to appear in more than one codelist.
I suggest we ignore this for now and implement it once we can use the facets (#22) to identify dimensions instead of tracking these on the codes - then it might just be a question of s/map/mapcat
:crossed_fingers:
Closing this because we removed the code search endpoint anyway and new queries should be handling the issue of codes appearing in multiple codelists gracefully.
If you search for "England" or "France" you get the below exception. For some reason "Germany" is fine...
Possibly unexpected cardinality?