redirect to root doc if search is 0 or 1 characters