Skip to content

Feature: Update API search collection test for renamed Solr collections#207

Merged
mdorf merged 10 commits into
developfrom
feature/solrcloud-alias-indexing-codex
May 19, 2026
Merged

Feature: Update API search collection test for renamed Solr collections#207
mdorf merged 10 commits into
developfrom
feature/solrcloud-alias-indexing-codex

Conversation

@mdorf
Copy link
Copy Markdown
Member

@mdorf mdorf commented Apr 1, 2026

Summary

This PR updates the API test expectation for the Solr collection names returned by the search collections admin endpoint.

It aligns ontologies_api with the Solr collection naming changes introduced in the related goo and ontologies_linked_data PRs.

Prerequisites

This PR depends on the following upstream changes:

What Changed

Updated the expected collection names in:

  • test/controllers/test_search_models_controller.rb

Specifically:

  • term_search_core1 -> term_search
  • prop_search_core1 -> property_search

Why

The previous test still expected the legacy physical collection names that used *_core1 terminology.

This PR updates the test to match the new physical collection names used by the alias-backed Solr search model.

Related

The operational rebuild and cutover workflow for these collections is introduced in:

mdorf added 9 commits April 1, 2026 14:37
Expect the admin search collections endpoint to report the physical Solr bootstrap collections, term_search_bootstrap and property_search_bootstrap, while allowing the stable term_search and property_search aliases as additional entries.
…cbo/ontologies_api into feature/solrcloud-alias-indexing-codex
Point the API stack at the latest GOO and related Solr alias commits, including the GOO test cleanup that prevents leaked search collections from breaking API collection assertions.
Point the API stack at the latest GOO, OLD, and ncbo_cron commits for configurable Solr alias bootstrap migration.
Point API dependency locks at the OLD/ncbo_cron commits that keep the Solr alias status command read-only.
@mdorf mdorf marked this pull request as ready for review May 19, 2026 23:14
@mdorf mdorf merged commit 0c5d519 into develop May 19, 2026
2 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant