Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 906 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 906 Bytes

ElasticPress BuddyPress

This plugin provides a custom feature for ElasticPress which adds index & query support for BuddyPress groups & members.

Built for Humanities Commons.

Initial setup:

Required plugins:

buddypress
bbpress
elasticpress
elasticpress-buddypress

BuddyPress content types depend on the mapping for posts provided by ElasticPress, so you must set up that mapping before indexing groups and members. You can do that by indexing posts with the --setup flag (which will also delete the index first!):

wp --url=example.com elasticpress index --setup

where example.com is your main site/network.

Index buddypress content:

wp --url=example.com elasticpress-buddypress index

There are no hooks yet to re-index buddypress content. Run it on a regular basis to keep the index up-to-date.