Search engine for EPUB3 documents
This node module is a search engine for EPUB3 documents. It provides full-text searching on EPUB3 content. It is built on top of search-index.
- Full text search
- Instant search (provide suggestions)
- Hits including cfi references
Create a new search engine object
var se = ;
run this function to index your unzipped EPUB3 content
// search(query, epubTitle, result_callback)se;
Install all dependent modules:
Start up the example
npm run express-service. It should run an express server on your local machine.
When navigating to http://localhost:8080/ then you can see a test page where you can enter a search query.
Note: The indexing process starts automatically and it takes a few seconds until the search service is really available.