Write scores locally for fast retrieval