27ffb8fa8a
Previously, in order to load encyclopedia data into the search engine, it was necessary to use the encyclopedia.marginalia.nu converter to first create a .db-file. This isn't very ergonomic, so parts of that code-base was lifted in as a 3rd party library, and conversion from .zim to .db is now done automatically. The output file name is based on the original filename, plus a crc32 hash and a .db-ending, to ensure we can recycle the data on repeat loads. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
readme.md |
Loading Process
The loading process reads converted data and inserts it into the database, as well as creates a journal file that will be used to create a static index for the index-service.
Central Classes
- LoaderMain main class.