Closed bentookey-yotta closed 4 months ago
Did you specified keywords
in front matter of your relevant docs?
Currently, keywords take precedence over content in search index, which would cause search results lacking content part. But this should not be affected by searching within or without a context.
Could you share a repro link?
Thanks for the quick response. Our repo is private but I've uploaded an affected build to Netlify (v0.44, Docusaurus v3.4): magical-sopapillas-59e9f2.netlify.app Live site: help.alloyapp.io
None of our docs include the keywords
or tags
front matter.
Fixed in 0.44.1
Thanks for reporting.
We're currently using Docusaurus v3.2 and easyops v0.40.1 with contextual search configured.
In v0.44, when searching within a context (e.g. the "Concepts" section), most search results are lacking their context description and have incomplete breadcrumbs. The standard "Everywhere" context seems unaffected.
This was introduced in v0.41 presumably by https://github.com/easyops-cn/docusaurus-search-local/issues/344.
v0.44:
v0.40
Config
Unfortunately, this blocks us from updating Docusaurus (as v3.4 introduces the "duplicate URL" bug solved in v0.41.1). Hopefully, it can be resolved in due course 🙂