Improved search function - added debug connection strings for local deployment