-
Notifications
You must be signed in to change notification settings - Fork 6
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
Some collections not visible in category view #353
Comments
Actually the SOLR query related to AREAS is there:
|
…ds for Map data structure)
…ds for Map data structure)
Top level collections (and sub-collections) that are visible, searchable, published, and/or not listed |
Collections that's can't be searched for in dev: <style type="text/css"></style>
|
The scope of this ticket is Collection Visibility in Category view only. The source of JSON of Top Collections (https://www.webarchive.org.uk/act/collections/allCollectionAreasAsJson/7) Case of Collection 3098 (aka UK Retail) (Listed in Working On(!)) BTW Long time ago we agreed, that by default we do not expose collections listed in Working On. Count of collections in 'Working On' (from JSON is 7) and from SOLR instance is 5 (2 less due to field Publish:NO probably): |
Thanks, Mindy, and apologies, I wasn't aware (or maybe I forgot) that Collections tagged into "Working On" would not be exposed. Should it be the case that Collections that are both published and tagged into "Working On" should still be searchable? Perhaps this is more of a curatorial question as I think all published Collections should still be searchable. |
Please can we remove the "Working On" collection so it is not available to ACT users or end users please? |
I have added descriptions for two collections that were missing them (https://www.webarchive.org.uk/act/collections/4148 NHS Patient Surveys and https://www.webarchive.org.uk/act/collections/2778 Unfinished business) |
In response to ukwa/w3act#676
Looking at:
ukwa-ui/src/main/java/com/marsspiders/ukwa/solr/SolrCommunicator.java
Line 157 in 465e94c
This seems to map to this query, where the UK General Election 2015 collection can be seen: http://prod1.n45.wa.bl.uk:9021/solr/collections/select?indent=on&facet=true&facet.pivot=collectionAreaId,id,description,name&q=*:*&facet.limit=-1&facet.pivot.mincount=1&wt=json&rows=1
The code that consumes this list is not obvious to me, so I'm not sure what's happening there:
ukwa-ui/src/main/java/com/marsspiders/ukwa/controllers/CategoryController.java
Line 81 in 465e94c
The only thing I spotted is that the UK General Election 2015 collection is preceded by a entry that has no description:
Is it possible that that's breaking things? You could try this by filtering out items with no description or title (
name:[* TO *] AND description:[* TO *]
), e.g.http://prod1.n45.wa.bl.uk:9021/solr/collections/select?indent=on&facet=true&facet.pivot=collectionAreaId,id,description,name&q=name:[*%20TO%20%20*]%20AND%20description:[*%20TO%20*]&facet.limit=-1&facet.pivot.mincount=1&wt=json&rows=0
The text was updated successfully, but these errors were encountered: