MarginaliaSearch/code/processes/loading-process
Viktor Lofgren f58a9f46be (loader) Don't truncate the entire links table on load
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.
2023-11-16 10:30:12 +01:00
..
src (loader) Don't truncate the entire links table on load 2023-11-16 10:30:12 +01:00
build.gradle (refactor) Rename satellite services to application services 2023-10-09 13:45:45 +02:00
readme.md (refactor) Remove features-search and update documentation 2023-10-09 15:12:30 +02:00

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