-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fixing facets that are breaking search #54
Conversation
Also renaming `name_1` to `field_resource_type`.
@dannylamb, because of Islandora/controlled_access_terms#70 we need to pull php 7.3 from the testing matrix, e.g. Islandora/controlled_access_terms@e6aec27#diff-3ed6605c09cf098b9fca42efddf606e06d3a52480a19969687a97471d06490cbL24 |
I can do that @seth-shaw-unlv |
🔥 🔥 🔥 |
There's a corresponding pull to controlled_access_terms I need to issue as well before this goes in. |
Oh ha, right... |
Currently spinning up a fresh ISLE to make sure this installs correctly from scratch. I'll update testing instructions with what I did... assuming everything goes ok. |
Bah, now it's complaining about the |
…ed_access_terms_defaults
This will fail until Islandora/controlled_access_terms#71 is merged |
@seth-shaw-unlv or any other @Islandora/8-x-committers ➡️ 📣 I've updated testing instructions, and this fixes searching. Please help me get this and Islandora/controlled_access_terms#71 in so I can merge Islandora/islandora#843 and finish the release. 🙏 🙏 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
GitHub Issue: Follow up to #52
Blocking Islandora/islandora#843
What does this Pull Request do?
Points facets towards the correct fields on the solr index after the MIG sandbox changes. The facets are currently pointing at fields that are no longer in the index, and it's making search fail silently.
What's new?
How should this be tested?
Original Behaviour:
Try to search, you'll get no results and no real indication that anything went wrong.
How to get an environment to test this
I used ISLE. Make sure you have the latest
isle-dc
, and from within its directorysudo rm -rf codebase; git clone https://github.com/islandora-devops/islandora-sandbox codebase
ENVIRONMENT=local
in your .env (renamesample.env
to.env
if you don't have it)TAG=1.0.0-alpha-9
make local
codebase/web/modules/contrib/islandora_defaults
codebase/web/modules/contrib/controlled_access_terms
docker-compose exec drupal with-contenv bash -lc 'drush -y en facets name islandora_search'
docker-compose exec drupal with-contenv bash -lc 'drush -y fim controlled_access_terms_defaults'
docker-compose exec drupal with-contenv bash -lc 'drush -y fim islandora_defaults'
docker-compose exec drupal with-contenv bash -lc 'drush -y fim islandora_search'
(it will complain about not being able to reach the solr server. that's fine. the next step fixes it)make hydrate
Then you can go add some terms, make some content, and try to search it. Search should work and you should see facets.
Interested parties
@Islandora/8-x-committers