All-optical on-chip sensor for high refractive index sensing