Sure, it’s simple.
Since we have no good UI for this, you can add a small code:
add_filter('wpfts_index_post', function($index, $post)
{
global $wpfts_core;
if ($post && $wpfts_core) {
// Example for ACF fields
// 1. Check if the post has correct post_type
if ($post->post_type == 'my_post_type2') { // Use YOURS here
// 2. Check if ACF is active!
if (function_exists('get_field')) {
// 3. Get ACF field value
$t = get_field('my_acf_field', $post->ID); // Use YOURS here
// 4. Store to index
$index['my_cluster2'] = trim($t); // YOUR cluster name
// Repeat 3 & 4 if you need to index more ACF fields
}
}
}
// Return summarized $index to put it to database
return $index;
}, 3, 2);
Put this code to your functions.php of the child theme and rebuild index.
You can use Sandbox Area Tester to test the wpfts_index_post hook without need to rebuild index just to be sure everything is indexed.
Hope this helps.
Thanks for the question.