While not technically an API, you can run mdimport on something to get Spotlight to re-index it. I do this from an NSTask and it works fine.
While not technically an API, you can run mdimport on something to get Spotlight to re-index it. I do this from an NSTask and it works fine.