Skip to content
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

remove field cruft from Solr schema.xml for Argo - part 1. #4221

Closed
ndushay opened this issue Oct 9, 2023 · 2 comments
Closed

remove field cruft from Solr schema.xml for Argo - part 1. #4221

ndushay opened this issue Oct 9, 2023 · 2 comments
Assignees
Labels
discovery improvements to discovery

Comments

@ndushay
Copy link
Contributor

ndushay commented Oct 9, 2023

We have a bunch of cruft in our schema.xml file:

https://github.com/sul-dlss/sul-solr-configs/blob/master/argo_prod/schema.xml#L159-L164

FIELDS:

  • text
  • text_search
  • text_unsteam_search
  • date

These fields, AFAICT, either are empty or do not exist:

We would like to remove them from schema.xml.

If I look at them with the schema browser at http://sul-solr-prod-a.stanford.edu/solr/#/argo3_prod/schema , I see a "delete field" button.

image

The work of this ticket:

  1. find out what happens if we click the "delete field" button (do a little research? try it for qa? See if it sticks?)
    a. if useful, click the delete button for all 4 fields as needed
  2. remove the fields from schema.xml for argo_prod, _stage, _qa (3_prod depending on Remove argo3_prod solr collection alias #4220)
  3. remove https://github.com/sul-dlss/sul-solr-configs/blob/master/argo_prod/schema.xml#L188-L198 from schema.xml fields as well (?)
  4. get these configuration updates propagated to argo Solr indexes in the cluster (see Solr cluster: how do we deploy updates to our config files (schema.xml, solrconfig.xml, etc) #4219)
@ndushay ndushay changed the title remove cruft from Solr schema.xml for Argo remove field cruft from Solr schema.xml for Argo - part 1. Oct 10, 2023
@ndushay ndushay self-assigned this Oct 11, 2023
@ndushay
Copy link
Contributor Author

ndushay commented Oct 11, 2023

cruft removed for -qa and -stage. Awaiting more testing before proceeding to prod.

@ndushay
Copy link
Contributor Author

ndushay commented Oct 12, 2023

and with sul-dlss/sul-solr-configs#278 and running zookeeper, updated Solr configs are deployed to all Argo solr collections.

@ndushay ndushay closed this as completed Oct 12, 2023
@ndushay ndushay added the discovery improvements to discovery label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discovery improvements to discovery
Projects
None yet
Development

No branches or pull requests

1 participant