Synchronize Indexed Folder using AppleScript

There is a recent thread,

[url]Updating indexed groups across many databases]

which describes a script that updates all indexed groups in all open databases. Maybe that’s not what you are looking for, but it might still be interesting. Use Christian’s script, not mine.