{"id":42925072,"url":"https://github.com/tulibraries/funcake-oai-solr","last_synced_at":"2026-01-30T18:07:44.502Z","repository":{"id":36597560,"uuid":"224221507","full_name":"tulibraries/funcake-oai-solr","owner":"tulibraries","description":"Funnel Cake Solr Configs for OAI endpoints","archived":false,"fork":false,"pushed_at":"2025-10-21T20:19:35.000Z","size":154,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-21T22:18:23.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tulibraries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-11-26T15:13:26.000Z","updated_at":"2025-10-21T20:19:32.000Z","dependencies_parsed_at":"2023-02-12T23:30:40.668Z","dependency_job_id":"40bb2545-d411-4d29-a7e0-661d921cc44e","html_url":"https://github.com/tulibraries/funcake-oai-solr","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tulibraries/funcake-oai-solr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulibraries%2Ffuncake-oai-solr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulibraries%2Ffuncake-oai-solr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulibraries%2Ffuncake-oai-solr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulibraries%2Ffuncake-oai-solr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tulibraries","download_url":"https://codeload.github.com/tulibraries/funcake-oai-solr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulibraries%2Ffuncake-oai-solr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28917034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-30T18:07:43.959Z","updated_at":"2026-01-30T18:07:44.493Z","avatar_url":"https://github.com/tulibraries.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Funnel Cake OAI (funcake-oai) Solr Configurations\n[![Test](https://github.com/tulibraries/funcake-oai-solr/actions/workflows/test.yml/badge.svg)](https://github.com/tulibraries/funcake-oai-solr/actions/workflows/test.yml)\n[![Deploy](https://github.com/tulibraries/funcake-oai-solr/actions/workflows/deploy.yml/badge.svg)](https://github.com/tulibraries/funcake-oai-solr/actions/workflows/deploy.yml)\n\nThese are the Solr configuration files for the Funnel Cake (PA Digital) OAI endpoint.\n\n## Prerequisites\n\n- These configurations are built for Solr 9.6\n- The instructions below presume a SolrCloud multi-node setup (using an external Zookeeper)\n\n## Local Testing / Development\n\nYou need a local SolrCloud cluster running to load these into. For example, use the make commands + docker-compose file in https://github.com/tulibraries/ansible-playbook-solrcloud to start a cluster. That repository's makefile includes this set of configurations and collection (funcake) in its `make create-release-collections` and `make create-aliases` commands.\n\nIf you want to go through those steps yourself, once you have a working SolrCloud cluster:\n\n1. clone this repository locally \u0026 change into the top level directory of the repository\n\n```\n$ git clone https://github.com/tulibraries/funcake-oai-solr.git\n$ cd funcake-oai-solr\n```\n\n2. zip the contents of this repository *without* the top-level directory\n\n```\n$ zip -r - * \u003e funcake-oai.zip\n```\n\n3. load the configs zip file into a new SolrCloud ConfigSet (change the solr url to whichever solr you're developing against)\n\n```\n$ curl -X POST --header \"Content-Type:application/octet-stream\" --data-binary @funcake-oai.zip \"http://localhost:8081/solr/admin/configs?action=UPLOAD\u0026name=funcake-oai\"\n```\n\n4. create a new SolrCloud Collection using that ConfigSet (change the solr url to whichever solr you're developing against)\n\n```\n$ curl \"http://localhost:8090/solr/admin/collections?action=CREATE\u0026name=funcake-1\u0026numShards=1\u0026replicationFactor=2\u0026maxShardsPerNode=1\u0026collection.configName=funcake-oai\"\n```\n\n5. create a new SolrCloud Alias pointing to that Collection (if you want to use an Alias; and change the solr url to whatever solr you're developing against):\n\n```\n$ curl \"http://localhost:8090/solr/admin/collections?action=CREATEALIAS\u0026name=funcake-oai-1-dev\u0026collections=funcake-oai-1\"\n```\n\n## SolrCloud Deployment\n\nAll PRs merged into the `main` branch are _not_ deployed anywhere. Only releases are deployed.\n\n### Production\n\nOnce the main branch has been adequately tested and reviewed, a release is cut. Upon creating the release tag (using integer tags like `1`, `2`, `3`), the GitHub Actions deploy workflow automatically:\n1. new ConfigSet of `funcake-oai-{release-tag}` is created in [Production SolrCloud](https://solrcloud-rocky9.tul-infra.page);\n2. new Collection of `funcake-oai-{release-tag}-init` is created in [Production SolrCloud](https://solrcloud-rocky9.tul-infra.page) w/the requisite ConfigSet (this Collection is largely ignored);\n3. a new Dev alias of `funcake-oai-{release-tag}-dev` is created in [Production SolrCloud](https://solrcloud-rocky9.tul-infra.page), pointing to the init Collection;\n4. a new Prod alias of `funcake-oai-{release-tag}-prod` is created in [Production SolrCloud](https://solrcloud-rocky9.tul-infra.page), pointing to the init Collection;\n5. and, manually, a full reindex DAG is kicked off from Airflow Production to this new funcake-oai alias. Upon completion of the reindex, relevant clients are redeployed pointing at their new alias, and *then QA \u0026 UAT review occur*.\n\nSee the process outlined here: https://github.com/tulibraries/docs/blob/main/services/solrcloud.md\n\nAfter some time (1-4 days, as needed), the older funcake-oai collections are manually removed from Prod SolrCloud.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftulibraries%2Ffuncake-oai-solr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftulibraries%2Ffuncake-oai-solr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftulibraries%2Ffuncake-oai-solr/lists"}