search query revision
revision gen query