I'm using bio so that users become nodes and i want to associate their buddies with that node. So if I had a user called Fred who had a buddy called john - searching for Fred would return Fred and John's user profile because the buddy list would be associated with their profile nodes.

I'm assuming that this would involve using update_index somehow. I'm going to try and write a module to enable all the buddylist info to get added to the index and be associated with the correct user id. In this way I wont be tampering with the buddylist code.

I've already made a buddylist search module which just adds a tab to the search page. This allows you to enter the name of a user and returns all the buddies of that particular user - it uses update_index and the search hook, but it needs more work. By getting that buddy data on the user node i can just use the main search tab to do all of this.

Any idea on the best way to do this.