X Tutup
Skip to content

refactor: make Solr.escape a static method and update its usage#11771

Merged
cdrini merged 1 commit intomasterfrom
refactor/solr-escape
Feb 6, 2026
Merged

refactor: make Solr.escape a static method and update its usage#11771
cdrini merged 1 commit intomasterfrom
refactor/solr-escape

Conversation

@RayBB
Copy link
Collaborator

@RayBB RayBB commented Jan 29, 2026

Closes #

Trying to cleanup and better understand our solr code as we move to async.
I noticed this one small function was leading us to instantiate solr instances when we really don't need to so I changed it to be static.

Technical

Testing

Screenshot

Stakeholders

@RayBB RayBB requested a review from cdrini January 29, 2026 20:11
Copy link
Collaborator

@cdrini cdrini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm! Tested work search autocomplete works.

@cdrini cdrini merged commit 5000403 into master Feb 6, 2026
8 checks passed
@cdrini cdrini deleted the refactor/solr-escape branch February 6, 2026 21:31
@RayBB RayBB removed the On Testing label Feb 10, 2026
bhardwajparth51 added a commit to bhardwajparth51/openlibrary that referenced this pull request Feb 17, 2026
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.

2 participants

X Tutup