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
Improve docs search #5825
Comments
@dakshitha feel free to add other observations |
One issue identified regarding hierarchies: the crawler picks up either the top-level nav xor the active sidebar element as level0. That means as soon as you go down the hierarchy in the sidebar, you loose context of the top nav. With our current setup that does not make sense. We should preserve at least top-nav as lv0 and the upper most category of the sidebar as lv1 with our current information architecture. |
Regarding generated docs:
|
Could not figure out how to manipulate the md template (only mdx content), so we have to find another way. |
@fforootd @hifabienne @dakshitha any opinions on this? You can see an example of the two indices in the issue description, should be clear from that what the struggle is :) |
Hm good question. Is not everything in /api to be ranked lower then the other content? |
Yes and not relevant :) Ranking can be done per Index, since we have only one index atm all have the same rank (see hierarchy issue above). The real issue is that the generated pages follow a different format than the other pages, thus we need to parse them differently. At the moment they can only be separated by hard-coding the path. I would actually like to put all generated content in a subpath like /api/resources |
Ok, we can do this already IMO. We can separate the whole /api into its own index. (I am not sure if docsearch can do this out of the box) |
Yes it does. I can do that change. Was looking for any vetos of you. |
No veto on my end 😁 |
Updated the crawler: Not sure if the secondary index will be included in the search. Need to check if multiple actions can write to the same index. Having multiple indices causes issues in docsearch, since we can only define one index. |
@dakshitha I've updated the crawl. Results should be reflected in the current search behavior. Can you please have a look? Any suggestions on how we could improve further? |
Search works well for me now. |
Done. Rest as follow-up issues. |
Currently there are some issues with search, namely:
Acceptance Criteria
Resources
Current draft (actions):
The text was updated successfully, but these errors were encountered: