Search functionality implemented in MSSQL.