Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple values for Subject, Discipline and Language #6

Open
borsna opened this issue Oct 22, 2014 · 1 comment
Open

Multiple values for Subject, Discipline and Language #6

borsna opened this issue Oct 22, 2014 · 1 comment

Comments

@borsna
Copy link
Contributor

borsna commented Oct 22, 2014

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?

@borsna borsna changed the title Multiple values for Subject Multiple values for Subject, Discipline and Language Oct 23, 2014
@binyam
Copy link
Contributor

binyam commented Oct 23, 2014

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

@binyam binyam closed this as completed Oct 23, 2014
@binyam binyam reopened this Oct 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants