Relevanssi and Co-authors Plus

Co-Authors Plus is a neat plugin that makes it possible to have multiple authors for one post in WordPress. This is a useful feature WordPress doesn’t yet support.

Relevanssi only picks up the first author from the post, but making Relevanssi find the other authors as well is very simple, thanks to good design choices made by the Co-authors Plus developers. The plugin stores the extra authors in a custom taxonomy. Indexing custom taxonomies is elementary for Relevanssi.

In order to make Relevanssi index all authors for posts, simply add “author” to the “Custom taxonomies to index” option and re-index.

  • http://www.codearachnid.com Tim Wood

    Thank you for this tip – just enabled Co-authors the other day and noticed author’s weren’t being indexed!

  • http://www.codearachnid.com Tim Wood

    After indexing the site – I noticed that author’s show up if I search by the full name, is there any trick to having an author’s posts show up if a partial name is searched. An issue I am seeing is if I search by first name only or both names (without quotes) around them then the author’s posts are not retrieved.

  • http://www.mikkosaari.fi/ Mikko Saari

    Have you enabled the fuzzy search?

  • Tim Wood

    I had it set to the default for fuzzy – I have set it to use it for all searches now and that did the trick. I ended up re-indexing for some other settings that I enabled, but just curious if I need to re-index after this change?

    Thanks again for the help and a great plugin!

    • http://www.mikkosaari.fi/ Mikko Saari

      No need to reindex after that, the index remains the same.