Search queries migrated to new api