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

Support searching by multiple authors when using Authorship feature #356

Open
3 tasks
roborourke opened this issue Dec 13, 2021 · 0 comments
Open
3 tasks

Comments

@roborourke
Copy link
Contributor

roborourke commented Dec 13, 2021

The Authorship feature provided by the CMS module allows for assigning multiple authors to a post.

Currently the default search will search against the display_name of the original author of a post, we should also index and allow searching against multiple author names.

Note this is a potentially breaking change so should not be backported.

Acceptance criteria:

  • When preparing a post for indexing the field post_author.display_name should be sent as an array of values, one for each author
  • Document preparation step only happens if Authorship feature is enabled
  • Searching for a guest author's display name (not the first or original post author) should return posts they are a guest author on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant