indexDocOnly made serializable