ava-labs/avalanche-docs

Improve buggy Algolia Search

meaghanfitzgerald opened this issue · 1 comments

Describe the bug
The Algolia Search does not show page titles or sidebar labels in the search results, only the headings and key words in the results

To Reproduce
Steps to reproduce the behavior:

  1. Open the search in the top right corner of any page or press 'command + K'
  2. Type the title of a page or sidebar label into the search
  3. See everything but what you typed in the results

Expected behavior
Article titles should be shown in the results for users who are searching for an article by name/topic.

Screenshots
First result is a heading in this Subnet Tutorial, instead of this page with the exact title (seen in sidebar).
image

Hasura has a working implementation:
Image

Editting the Algolia crawler config, and I believe the issue is fixed.
image