Internals of the KNN plugin

Hey folks
I was reading up on the KNN plugin for vector search, specifically how an IVF index requires a training step before building the index.
I was looking for some info about the internal workings - would appreciate it if I could be pointed to some docs/code paths, other than what’s already there(which is more from a user’s perspective).

thanks!

@vamshin been looking into some of the Github discussions from the AWS OpenSearch team - would be helpful if you could provide some more info here.
thanks!