Indexing allows Confluence search to find content included from Bitbucket files.
Indexing happens when a user updates a page. To index all existing pages with included Bitbucket content, rebuild the Confluence index in Search Indexes.
This is optional and it is not required in order to use the app.
Go to Administration → General configuration → Include Bitbucket
Warning: The search results only honors Confluence permissions. All users with access to the Confluence page will see the content of the Bitbucket file via the search results. Even when the user does not have access to the Bitbucket file.