Formatted search query (closes #1)