moved ranking out of index docs