Closed KlausIllmayer closed 1 month ago
I can confirm, that the two reported issues are now solved on stage. We need to be aware, that the index needs to be built up completely, so that the marketplace will only show parts of the data for around 3 hours. We need to keep this in mind when upgrading production.
There are some issues with the configuration of the updated Solr, that we recently deployed. @tparkola I set it to critical, as it breaks some conventions that users of the marketplace are used to.
I try to collect everything until now, what we found out:
api/actor-search
the behavior has changed. Before, I was able to use spaces when searching for actors, e.g. for actor "Klaus Illmayer" it returned me results when calling https://marketplace-api.sshopencloud.eu/api/actor-search?q=Klaus%20Illmayer - but now we don't get any result. Instead I need to use a wildcard to get the results https://marketplace-api.sshopencloud.eu/api/actor-search?q=Klaus*Illmayer - which is not the behavior we like to have, because people in frontend will not use the wildcard and they are expecting that space is understood as a space.Error from server: org.apache.solr.search.SyntaxError: Cannot parse '*:* AND (code:https://vocabs.dariah.eu/sshoc-keyword/POS^10.0 OR uri:https://vocabs.dariah.eu/sshoc-keyword/POS^10.0 OR notation:https://vocabs.dariah.eu/sshoc-keyword/POS^4.0 OR label_text_en:https://vocabs.dariah.eu/sshoc-keyword/POS^4.0 OR definition_text_en:https://vocabs.dariah.eu/sshoc-keyword/POS^2.0 OR label_text:*https://vocabs.dariah.eu/sshoc-keyword/POS*^2.0 OR definition_text:*https://vocabs.dariah.eu/sshoc-keyword/POS*^1.0)': Encountered " ":" ": "" at line 1, column 19.\nWas expecting one of:\n <AND> ...\n <OR> ...\n <NOT> ...\n "+" ...\n "-" ...\n <BAREOPER> ...\n "(" ...\n ")" ...\n "*" ...\n "^" ...\n <QUOTED> ...\n <TERM> ...\n <FUZZY_SLOP> ...\n <PREFIXTERM> ...\n <WILDTERM> ...\n <REGEXPTERM> ...\n "[" ...\n "{" ...\n <LPARAMS> ...\n "filter(" ...\n <NUMBER> ...\n
Unfortunately, we need the possiblity to find a concept by its URI, as some curation scripts need this approach.It could be, that other issues will show up, especially when running the Notebook curation scripts. This could be the place to post them, so that the Solr configuration can be adapted.
Watchers: @laureD19 @cesareconcordia @mkrzmr