You can use this combination of commands:
M-x narrow-to-region
C-s SOMETEXT
M-x widen
Though, that's kind of burdensome, here's a new command that does the above for you automatically.
(defun isearch-forward-region-cleanup ()
"turn off variable, widen"
(if isearch-forward-region
(widen))
(setq isearch-forward-region nil))
(defvar isearch-forward-region nil
"variable used to indicate we're in region search")
(add-hook 'isearch-mode-end-hook 'isearch-forward-region-cleanup)
(defun isearch-forward-region (&optional regexp-p no-recursive-edit)
"Do an isearch-forward, but narrow to region first."
(interactive "P\np")
(narrow-to-region (point) (mark))
(goto-char (point-min))
(setq isearch-forward-region t)
(isearch-mode t (not (null regexp-p)) nil (not no-recursive-edit)))
Now just do M-x isearch-forward-region RET SOMETEXT, or bind it to a key binding of your preference like:
(global-set-key (kbd "C-S-s") 'isearch-forward-region)