DASISH / jmd-scripts

DASISH Task 5.4. Scripts and documentation of the workflow of the Joint Metadata Domain
GNU General Public License v3.0
0 stars 2 forks source link

Multiple values for Subject, Discipline and Language #6

Open borsna opened 10 years ago

borsna commented 10 years ago

Found some strange values for Subject eg: http://ckan.dasish.eu/ckan/dataset?_extras_Subject_limit=0&extras_Subject=Archaeology%3B+Archeologisch%3A+booronderzoek%3B+Archeologisch%3A+bureauonderzoek&_extras_Language_limit=0

It seams like CKAN imports these as a single value. When i asked Kees-Jan multiple values was suposed to be separated by ";" for the mapped value. Is there some config error for the importer?

binyam commented 10 years ago

The default solr schema.xml file for ckan does not split strings with semicolon but it is customizable. After adding a small text [1] to the schema.xml file and calling it for each facet, we get a split of the facet values.

[1] https://cwiki.apache.org/confluence/display/solr/Tokenizers