Closed adamwoodnz closed 2 months ago
Presumably when it works locally, it is using wp query, rather than ES to perform the search?
I'd guess that we need to have the new taxonomy in the JP search functionality in order for it to work.
I'd guess that we need to have the new taxonomy in the JP search functionality in order for it to work.
Data actually looks fine, so it's probably JP query setup that needs tweaking.
Ah - it's actually a sync specific issue - the list of taxonomies that go into an index is harded coded so they won't ever be present unless the name is changed or the taxonomy gets added to the wp.com specific file.
Fixed by adding the taxonomy to the JP Search index
Steps to reproduce:
Expected: The search results include the Beginner WordPress User course.
Actual: No results are found.
Findings
This works locally. This does not work in prod where we use Jetpack search. I am unsure whether this is the cause. Jetpack search debug: