Search engine within Hype document

Is it possible to create a search engine for words contained in an hype document

This is not a simple process, but you could use a Javascript-based search engine like lunr: