Search and Writer not static to avoid keeping indexed map into static var