Search operator does not exist: text = integer

Jul 1, 2014 at 11:25 AM
I have got search:

               var queryOver = session.Query<Transport>()
                .Where(x => x.lic_plate.ToLower().Contains(lic_plate)
                    && x.Uzsakovas.name.ToLower().Contains(UzsakovasName)
UzsakovasName is string
and I get error from db:
operator does not exist: text = integer

What have I done wrong?