On databases with a large number of res.partner entries, the extended name_search of analytic accounts was prohibitively slow, due to the expensive name_search on res.partner. Restricting the search to the partner name is extremely similar business-wise, but makes a huge difference in terms of speed. E.g. sub-second results vs 10+ minutes for a database with 30k analytic accounts and 600k partners.