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 feature doesn't work in Docs #8047

Closed
Hitarthsheth07 opened this issue Oct 25, 2024 · 10 comments
Closed

Search feature doesn't work in Docs #8047

Hitarthsheth07 opened this issue Oct 25, 2024 · 10 comments
Assignees

Comments

@Hitarthsheth07
Copy link
Contributor

Hitarthsheth07 commented Oct 25, 2024

Bug Description

The search feature in docs for developers.
However it does work for the page: twenty/user-guide

Example:
https://www.loom.com/share/962f4710901c44a19736d8267922a1ec

Expected behavior

Steps to reproduce:
Go to twenty/developers
Click on search and try searching for something

@ijreilly
Copy link
Collaborator

@Hitarthsheth07 thank you for reporting!

From my understanding we are using Algolia's docsearch solution for our search engine on twenty website.
We configure indexes corresponding to certain parts of the website that are then crawled by docsearch, filling the index.
The error here is "Index twenty-developer does not exist", the index name being defined in AlgoliaDocSearch component

I see that before this PR Migrated developer doc we were always looking into user-guide index. Was a new index created along with the PR? Im not sure where this is configured
@FelixMalfait do you have more knowledge here?

@sans-byte
Copy link
Contributor

The index names present in Algolia are

  1. twenty-developer-docs ( This is wrong in code twenty-developer is used )
  2. twenty-user-guide ( This index name is correct in code that's why this is working )
    I would like to work on this assign it to me @ijreilly

@FelixMalfait
Copy link
Member

@sans-byte how did you find without having access to Algolia haha? Great 👍

@FelixMalfait
Copy link
Member

/award 100 for raising the issue

Copy link

oss-gg bot commented Oct 25, 2024

Awarding Hitarthsheth07: 100 points 🕹️ Well done! Check out your new contribution on oss.gg/Hitarthsheth07

@BOHEUS
Copy link
Contributor

BOHEUS commented Oct 25, 2024

@FelixMalfait this issue can be closed since changes are merged

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Product development ✅ Oct 27, 2024
@Hitarthsheth07
Copy link
Contributor Author

@sans-byte @FelixMalfait heyy,

It seems the search issue has been fixed but it raises a new problem. When you visit the link given in the search results by aloglia, you're directed to 404 page.

This is because the redirect link is invalid.

image

image

@sans-byte
Copy link
Contributor

Okay,I Will try fixing it thanks @Hitarthsheth07

@ijreilly ijreilly reopened this Oct 28, 2024
@FelixMalfait
Copy link
Member

Hey @sans-byte sorry you couldn't have fixed it yourself, it's a setup issue on Algolia. I've just fixed it, we should be good now!

@sans-byte
Copy link
Contributor

Yeah Thankyou @FelixMalfait I was trying it but I figured I can't fix it was going to unassign myself today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

5 participants