slow searching

I want to perform a project name search, using a wildcarded string, starting from a specific folder. I tried using aaApi_SelectProjectsFromBranch(parentID, NULL, searchStr, NULL, NULL) but it takes over 10 minutes to perform the search. If I use aaApi_SelectProjectsByProp with the same search string and parameters the results come back within a minute, but of course there are records returned that are not under the starting folder I want. Is there some way I can speed up the search? There is no other limiting criterion besides filename.

 

Thanks,

Stephanie