support synthetic queries