Search box not returning relevant results in FSE themes #62137
Labels
[Closed] Fixed
Issues explicitly fixed with PRs. Do not use for no longer reproducible issues.
[Pri] Normal
Schedule for the next available opportuinity.
[Status] Core Fix Needed
A fix within the Core WordPress or Gutenberg project is required to resolve this issue.
[Type] Bug
Quick summary
Sort order for search results differs between FSE and non-FSE sites. Most relevant results appear at the top for non-FSE sites, but much lower for FSE sites.
Steps to reproduce
What you expected to happen
Post should appear as the top hit in search results, as on the non-FSE site.
What actually happened
Post appears towards the bottom of the list of search results, below much less relevant results.
Context
Customer report in chat, followed up in ticket.
Simple, Atomic or both?
Simple
Theme-specific issue?
Unknown. Appears to be all FSE themes.
Browser, operating system and other notes
Firefox 98.0, Windows
Reproducibility
Consistent
Severity
Some (< 50%)
Available workarounds?
No but the platform is still usable
Workaround details
A
pre_get_posts
can be added as a temporary fix (source: WordPress/gutenberg#39285):The text was updated successfully, but these errors were encountered: