Limit search text length