You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search asteri-cn for "Tammerfors" in any language
or
Search asteri-cn for "City of Tampere" in any language
What is the expected output? What do you see instead?
Expect to get the result "Tampereen kaupunki". Instead getting an error about no hits.
The concept only has a prefLabel with @fi language tag. The altLabels are "Tampere" (no lang tag) and "City of Tampere"@en. These are not matched because of this part in the SPARQL query:
&& langMatches(lang(?label), lang(?match))
which requires the matched label to have the same language tag as (one of) the prefLabel(s).
The text was updated successfully, but these errors were encountered:
Still affects the REST API, and therefore the autocomplete search. The problem is that as currently defined, the REST search method only takes one lang parameter. Another parameter should be added in order to separate between UI language and search language.
* Allow plugin robloach/component-installer, because it is required by components/handlebars.js
* Adding /.idea to .gitignore so project can be edited in IntelliJ
* Removed .idea files from PR
* newline at end of .gitignore
* Upgraded Twig
* Added composer.lock
* Allow plugin robloach/component-installer, because it is required by components/handlebars.js
* Adding /.idea to .gitignore so project can be edited in IntelliJ
* Removed .idea files from PR
* newline at end of .gitignore
* Upgraded Twig
* Added composer.lock
Copied from: https://code.google.com/p/onki-light/issues/detail?id=297
At which URL did you encounter the problem?
http://dev.finto.fi/asteri-cn/fi/search?lang=&q=tammerfors
What steps will reproduce the problem?
or
What is the expected output? What do you see instead?
Expect to get the result "Tampereen kaupunki". Instead getting an error about no hits.
The concept only has a prefLabel with @fi language tag. The altLabels are "Tampere" (no lang tag) and "City of Tampere"@en. These are not matched because of this part in the SPARQL query:
&& langMatches(lang(?label), lang(?match))
which requires the matched label to have the same language tag as (one of) the prefLabel(s).
The text was updated successfully, but these errors were encountered: