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

Use the modifiedTime index for empty Algolia searches #552

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

jeffdaley
Copy link
Contributor

Follow up to #547 which fixed Related Resources search results but broke "Latest docs" suggestions.

This PR fixes the "latest docs" results in the "Add resource" modal by changing the index for empty queries from docs to docs_modifiedTime_desc. All other queries will continue to go through the default index.

@jeffdaley jeffdaley marked this pull request as ready for review January 18, 2024 21:50
@jeffdaley jeffdaley requested a review from a team as a code owner January 18, 2024 21:50
@jeffdaley jeffdaley merged commit dfba653 into main Jan 19, 2024
2 checks passed
@jeffdaley jeffdaley deleted the jeffdaley/related-resources-index branch January 19, 2024 00:57
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.

None yet

2 participants