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

Bug: Search result only include English and will be redirected to en site #113

Open
1 task
kecrily opened this issue Dec 14, 2023 · 3 comments
Open
1 task
Labels
bug Something isn't working

Comments

@kecrily
Copy link
Member

kecrily commented Dec 14, 2023

URL(s)

Search box in all links

What did you do?

  1. Input any text in search box
  2. Click search result

What did you expect to happen?

Everything is fine

What actually happened?

  1. Only have English site content, Chinese content not included
image
  1. Clicking on the search results will redirect you to the English site

Participation

  • I am willing to submit a pull request for this issue.

I can't seem to do anything about it.

Additional comments

No response

@kecrily kecrily added the bug Something isn't working label Dec 14, 2023
@nzakas
Copy link
Member

nzakas commented Dec 14, 2023

We only have the blog on the english site. Isn't this the expected behavior?

@kecrily kecrily changed the title Bug: Searches only include English and will be redirected to en site Bug: Search result only include English and will be redirected to en site Dec 14, 2023
@kecrily
Copy link
Member Author

kecrily commented Dec 14, 2023

What I mean is that Chinese content cannot be searched in the search box of Chinese docs, and only the content of English site (include docs and blog) will appear in the search results.

@nzakas
Copy link
Member

nzakas commented Dec 15, 2023

Oh, I see. Yeah, Algolia is only configured for English, and it's been a pain to work with so I'm not sure how easy it would be to have it also search Chinese. Maybe we should consider switching to PageFind so we can build the index as part of the website build.

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
Status: Evaluating
Development

No branches or pull requests

2 participants