Search adaptation for multipage text mode