updated to catch up with index files having just doc_ids