Separate search into books and pages and show type as an icon