complete document scoring caching