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

Update other-tasks-section #2386

Merged
merged 1 commit into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/indexing.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ Then expire the rails cache to get the updated values on the front page of the c
`ssh -L 9000:localhost:8983 pulsys@lib-solr-prod7`
* Go to the admin panel -> Query -> Submit a blank Query => you can see how many records are indexed in the collection.

* ssh to one of the [production bibdata boxes]:(https://github.com/pulibrary/princeton_ansible/blob/main/inventory/all_projects/bibdata#L12-L15) as deploy user
* ssh to one of the [production bibdata boxes](https://github.com/pulibrary/princeton_ansible/blob/main/inventory/all_projects/bibdata#L12-L15) as deploy user

`ssh deploy@bibdata-worker-prod1`
`cd /opt/bibdata/current/`
Expand All @@ -282,11 +282,12 @@ Then expire the rails cache to get the updated values on the front page of the c

* Query to Get all the indexed SCSB records. Currently the holdings locations for SCSB are: scsbcul or scsbnypl or scsbhl:

`response_scsb = solr.get select, :params=> {:q => id:SCSB*}`
`response_scsb = solr.get 'select', :params=> {:q => 'id:SCSB*'}`

* Query to Delete all SCSB recors:
* Query to Delete all SCSB records:

`solr.delete_by_query("id:SCSB*")`
`solr.delete_by_query("id:SCSB*")`
`solr.commit`

### Adding a replica

Expand Down
Loading