Closed heidivanparys closed 2 years ago
Hello @heidivanparys
The line 374 from https://github.com/ec-jrc/re3gistry/blob/master/sources/Re3gistry2JavaAPI/src/main/java/eu/europa/ec/re3gistry2/javaapi/solr/SolrHandler.java solve this problem. After update/change please clean Solr and reindex the data.
Let me know if it does in you case as well.
Best regards
Thanks for looking at this. We closed the proof-of-concept we were running last year, so I cannot test this any more, I'm afraid.
I will close it as it should be solved with the latest updated.
The dropdown for status values, in the search options in the public front-end web app, shows wrong values. Apart from “valid” and “retired”, which is correct, it also shows the IP address, “http” and “registry”, which is wrong.
The parameters sent to the Solr API (when entering value “item” in the search box on the front page) are
The interesting part of the response of Solr is the
facets
property, which apparently is used to populate the dropdown, see https://github.com/ec-jrc/re3gistry/blob/14b1d84135ae8000200bd16e5388fab59c3859a0/dist/webapp/public_html/js/app_core_search.js#L394-L424That seems to be a mistake. I would expect a dropdown with values "valid" and "retired", or a dropdown with the full URIs of those values. A guess is that Solr responds with what it has, but that status URIs for some reason are indexed in a wrong way in Solr?
The complete response: