mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
![]() This behavior is an old vestige from the days of only having a single loader process. We'd truncate the links table because doing inserts/updates was too slow. This was also important because we had 32 bit ID, and there's a lot of links between domains to go around... Instead we delete the rows associated with the current node with a stored procedure PURGE_LINKS_TABLE. We also update the PRIMARY KEY to a BIGINT. We'll need to load the data in excess of billion times to hit an ID rollover, so it'll be fine. |
||
---|---|---|
.. | ||
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.