SONAR-3871 Index resources when they are created