Hi @llrwac
Via UI alone, no, but we have WP filters via code available that can be useful.
function maybe_index_event_content( $should_index, \WP_Post $post ) {
// Already determined that the post should not be indexed. Return early.
if ( ! $should_index ) {
return $should_index;
}
// Check for if a past event here.
// End check.
// Return our determined result.
return $should_index;
}
add_filter( 'algolia_should_index_post', 'maybe_index_event_content', 10, 2 );
I don’t have super specific code for you as I don’t know how you have your events set up, but this would be a good starting point for you, or someone else with coding chops.
The $should_index
variable is going to be boolean, true/false, and the indexing depends on what value you return. Return false to have the given event NOT indexed, return true to have it indexed.