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

🐛 Fix additional query terms removal #241

Merged
merged 2 commits into from
May 17, 2023
Merged

Conversation

kirkkwang
Copy link
Contributor

This commit will fix the removal of the additional query terms. Here we use a regular expression to remove the additional query terms from the query string instead of using the gsub method. This is more accurate because it was noticed that document['is_page_of_ssim'] isn't always what we expect. It does not work in a nested work context.

This commit will fix the removal of the additional query terms.  Here we
use a regular expression to remove the additional query terms from the
query string instead of using the `gsub` method.  This is more accurate
because it was noticed that `document['is_page_of_ssim']` isn't always
what we expect.  It does not work in a nested work context.
@kirkkwang kirkkwang force-pushed the fix-additiona-query-terms branch from d2caee2 to d35889b Compare May 17, 2023 19:44
@kirkkwang kirkkwang force-pushed the fix-additiona-query-terms branch from d35889b to d57397b Compare May 17, 2023 19:45
@kirkkwang kirkkwang merged commit 124cc4d into main May 17, 2023
@kirkkwang kirkkwang deleted the fix-additiona-query-terms branch May 17, 2023 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants