Skip to content

NAMES GCP: Migrate NameX Solr Instance #26166

Open
19 of 21 issues completed
Open

Description

@EPortman

The NameX Solr instance in OCP is moving to GCP.

Also, the Solr instance in OCP is open to the public without authentication so is in need of a security upgrade.

The point of this ticket is to:

  • Make Solr more secure
  • Migrate Solr Instance from OCP to GCP across all environments - including data migration, Dockerfile & CI/CD updates, and potentially Solr version upgrades

Overall Plan:

  • Mirror the BOR architecture
    • user managed leader / follower
      • will have a leader + follower image running on vm instances behind their own load balancers
    • wrap with a small api + same solr service for serving searches, updates, ops operations, etc.
      • will require small changes in namex api to talk to new solr api instead of solr directly
    • similar managed synonym approach
      • will require small change in solr-admin-app to keep it updated
      • stemming is applied during indexing: synonym list should not contain multiple words with the same stem (Future: could solr-api could check for this before adding it)
    • scheduled job for reindexing regularly
  • Replace 3 cores with 1 NR core
    • will have a nested schema for the names
    • will require small updates to the solr update streams
    • could drastically improve the names examiner conflicts list by using something similar to the bor solr alg (potentially allowing for auto approval for many cases)
      • for now planning to simulate the same functionality as the current namex
      • will require updates to the current solr queries used by NameX
    • will be useful for other things like BRD
    • easy to expand for other use cases (i.e. search table in examiner app)
    • loading / reindexing will not require reaching into postgres wrapper / oracle db, and can simply pull from the namex db
    • will need regression testing NRs from draft through all possible scenarios

Future

NameX

  • Training NameX team to understand the solr api wrapper (this is much easier to learn than everything about Solr and would allow them to confidently handle 95% of Solr OPs). Is also a good stepping stone to learning Solr
  • Adding tests around Solr-API service
    • BOR + Business Search have tests that verify the search list ordering, as well as updating, reindexing, updating synonyms, etc.; this allows us to upgrade their Solr versions with confidence

For all Solr projects

  • Automate deployment
  • Optimize reindexing process and reduce frequency
  • Build out solr monitoring + automated scaling and redeployment
  • Optimizing GCP infrastructure to reduce costs
  • Optimizing Solr queries + managed schemas

Sub-issues

Sub-issues

19 of 21 Issues completed
Loading 21 sub-issues

Activity

  1. added
    Names Team
    SOLR
    on Feb 24, 2025
  2. self-assigned this
    on Feb 27, 2025
  3. 10 remaining items

  4. changed the title [-]GCP: Migrate NameX Solr Instance[/-] [+]NAMES GCP: Migrate NameX Solr Instance[/+] on Aug 25, 2025
  5. added theissue type on Aug 26, 2025
  6. added
    Entities - Data Migration
    and removed on Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities - Data MigrationGCP MigrationNames TeamPSOLRSREtechdebt

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions