We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a wordpress posts has been migrated over to gdocs and shares the same slug, it should be excluded from search.
Make sure to not run actual indexing on Algolia then:
node --inspect itsJustJavascript/baker/algolia/indexToAlgolia.js
Inspect records
records
owid-grapher/baker/algolia/indexToAlgolia.tsx
Line 214 in 9bf2c09
There shouldn't be a "wordpress" entry for e.g. the "democracy" slug.
This is happening because of the leading /, which prevents slug matching from happening:
/
Line 193 in 9bf2c09
#2846
The text was updated successfully, but these errors were encountered:
Fixed in #2846
Sorry, something went wrong.
No branches or pull requests
Expected behaviour
When a wordpress posts has been migrated over to gdocs and shares the same slug, it should be excluded from search.
Steps to reproduce
Make sure to not run actual indexing on Algolia then:
node --inspect itsJustJavascript/baker/algolia/indexToAlgolia.js
Inspect
records
owid-grapher/baker/algolia/indexToAlgolia.tsx
Line 214 in 9bf2c09
There shouldn't be a "wordpress" entry for e.g. the "democracy" slug.
This is happening because of the leading
/
, which prevents slug matching from happening:owid-grapher/baker/algolia/indexToAlgolia.tsx
Line 193 in 9bf2c09
Screenshots
Additional context
#2846
The text was updated successfully, but these errors were encountered: