I am not sure if this helps; there is one good WP plugin called ‘Search everything’ (or ‘Search all’). The plugin has a great review. It many selectable settings e.g. search for words in comments, pages, posts and many more options. Could the code be tweaked for performing search also within BP created pages??? As an addition to the settings the plugin already has. It would be absolutely great!