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

Search doesn't find any results #45

Closed
huonw opened this issue Jan 3, 2024 · 3 comments
Closed

Search doesn't find any results #45

huonw opened this issue Jan 3, 2024 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@huonw
Copy link
Contributor

huonw commented Jan 3, 2024

Currently, using the search gives no results ever. For instance, searching for "pants":

image

This is potentially expected (e.g. waiting for Algolia to index), but just filing to have a record/place to discuss if it lasts longer than expected.

@huonw huonw added the bug Something isn't working label Jan 3, 2024
@huonw huonw added this to the Switch-over milestone Jan 3, 2024
thejcannon added a commit that referenced this issue Jan 4, 2024
I have a small suspicion this is why
#45 is happening.

See the sitemap.xml: https://docs.pantsbuild.org/sitemap.xml
@huonw
Copy link
Contributor Author

huonw commented Jan 4, 2024

Hm, #61 seems to be deployed (e.g. the sitemap https://docs.pantsbuild.org/sitemap.xml references the correct URLs), but search still finds nothing. Do we need to re-trigger an indexing on on the algolia side @thejcannon?

(On that note, is the algolia log-in shared somehow? and/or keyed off the @WorkerPants email?)

@thejcannon
Copy link
Member

I reran the index and no dice. Probably an issue with the config

@thejcannon
Copy link
Member

Search works! https://docs.pantsbuild.org/search?q=python

Turns out the default Algolia search config client-side (set up by Docusaurus) includes certain facets that our index wasn't configured to support. After adding those facets, we're searching!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants