Tag registration information, keyword registration information, and state
management information are generated based on a search condition, and a
tag search of detecting a tag registered in the tag registration
information from document data of a structured document is switched to
and from a keyword search of detecting a keyword registered in the
keyword registration information according to the state management
information.