This was exploratory work toward making "new Islandora" usable for our client metadata. It was abandoned when we decided we could not support a hosting service for the new Islandora.
Dynamically create Solr fields based on the Identifier Type + Label (optional). This can be expanded and automated but more work is needed.
- Adds some metadata functionality.
- Automatically migrates the taxonomy terms for "identifiers".
Imports identifiers to use to generate dynamic Solr document fields.
This module sets up a field formatter, field validator, field type, and field widget for a list of fields. Then it will modify the content going into Solr fields.
Instructions for installing and running.
- Install Module
- Add Typed Labeled Text (plain) field type to an Islandora_repository content type
- Enable the Solr Processor
- Add at least one 1 identifier to an existing Islandora object.
- Click on checkbox to enable "Enhanced Identifier Aggregated fields(Fake Fields)" processor and click save
- Go to vertical tab Enhanced Identifier Aggregated fields(Fake Fields)
- Click "Discovery & Compile Solr field names"
- Click on Fields > add the "Fake Field"
- Click save & reindex
Instructions for install within isle-dc or see [## A full dev setup] below
$ docker-compose exec drupal with-contenv bash
$ cd web/modules/contrib/
$ git clone https://github.com/lyrasis/typed_labeled_fields
$ drush pm:enable -y typed_labeled_fieldsGo to /admin/help/typed_labeled_fields This loads the help page and should walk the user on how to set up the field in a way that's useful.
- Go to /admin/config/search/search-api/index/default_solr_index/processors
- Check "Enhanced Identifier Aggregated fields"
- Click Save
Automate completely so the users doesn't need to occasionally add new values.
For detailed instructions please visit the help page. Admin > Help > Typed Labeled Fields /admin/help/typed_labeled_fields
Also the instructions are found in code within the .module file.
This really needs to be automated to be as useful as people are likely to expect it to be. Currently when new identifiers are filled in they are not dynamically added to the index. A CRON job or Action should be made to make this happen.