using LIKE in query and prediction search