Fixed the build. Made all the integration tests for realtime indexing pass