Skip to content
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

Filter out pages defined via frontmatter from Swiftype related content results #584

Closed
jerelmiller opened this issue Aug 11, 2020 · 1 comment · Fixed by #594
Closed
Assignees
Labels
enhancement New feature or request released sp:2 Story Point(s): 2

Comments

@jerelmiller
Copy link
Contributor

Description

Because we are mixing related resources from frontmatter and Swiftype, there is a potential that Swiftype would return results for a page defined in frontmatter. To avoid displaying a duplicate result, we need to tell Swiftype to filter out those URLs when searching. We can leverage the Swiftype Search API filtering mechanism to do this for us.

You can see an example of this in the search-research branch that filters out the current page from results.

@jerelmiller jerelmiller added the enhancement New feature or request label Aug 11, 2020
@jerelmiller jerelmiller added the sp:2 Story Point(s): 2 label Aug 11, 2020
@jerelmiller jerelmiller self-assigned this Aug 13, 2020
@jerelmiller jerelmiller linked a pull request Aug 13, 2020 that will close this issue
@nr-opensource-bot
Copy link
Contributor

🎉 This issue has been resolved in version 1.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released sp:2 Story Point(s): 2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants