Thanks for explaining the issue, constant indexing after adding OneDrive feels disruptive. Official guidance states Outlook search depends on Windows Search indexing, and placing PST or OST files inside OneDrive synced locations causes continuous indexing and broken search. Supported steps focus on moving Outlook data files to a local folder not synced by OneDrive, then confirming indexing scope.
Open Settings, search for Indexing Options, select Modify, and clear OneDrive locations from the list. Next, select Advanced and choose Rebuild to reset the index.