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 Report: Search bar on techdocs is not working #24959

Closed
2 tasks done
fedy97 opened this issue May 29, 2024 · 2 comments
Closed
2 tasks done

🐛 Bug Report: Search bar on techdocs is not working #24959

fedy97 opened this issue May 29, 2024 · 2 comments
Labels
area:discoverability Related to the Discoverability Project Area area:techdocs Related to the TechDocs Project Area bug Something isn't working

Comments

@fedy97
Copy link
Contributor

fedy97 commented May 29, 2024

📜 Description

When searching on techdocs, no results are found

👍 Expected behavior

Find something when typing on the search bar

👎 Actual Behavior with Screenshots

image

image

👟 Reproduction steps

  1. go to https://demo.backstage.io/docs/default/component/backstage
  2. search something
  3. No results

📃 Provide the context for the Bug.

No response

🖥️ Your Environment

https://demo.backstage.io

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

@fedy97 fedy97 added the bug Something isn't working label May 29, 2024
@github-actions github-actions bot added area:discoverability Related to the Discoverability Project Area area:techdocs Related to the TechDocs Project Area labels May 29, 2024
@awanlin
Copy link
Collaborator

awanlin commented May 29, 2024

Hi @fedy97, do you have this issue with your own Backstage instance? If so can you please include details?

The demo site though handy isn't always the best to use as the source for dealing with bugs. In this case TechDocs search indexing has been disabled due to an odd OOM error we have as we are using the Lunr in memory search engine which we don't generally recommend for production deployments.

If I uncomment this line and add the related package: https://github.com/backstage/demo/blob/b4d9b44c8cfb8ee5b517a23b91d0de7db12a1b3f/packages/backend/src/index.ts#L31. The search works:

Screenshot 2024-05-29 at 9 01 17 AM

@fedy97
Copy link
Contributor Author

fedy97 commented May 29, 2024

Hi @awanlin you are right, we commented out that line. We can close this, thank you

@fedy97 fedy97 closed this as completed May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:discoverability Related to the Discoverability Project Area area:techdocs Related to the TechDocs Project Area bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants