MarginaliaSearch/code/common
Viktor Lofgren 3101b74580 (index) Move to a lexicon-free index design
This is a system-wide change.  The index used to have a lexicon, mapping words to wordIds using a large in-memory hash table.   This made index-construction easier, but it
also added a fairly significant RAM penalty to both the index service and the loader.

The new design moves to 64 bit word identifiers calculated using the murmur hash of the keyword, and an index construction based on merging smaller indices.

It also became necessary half-way through to upgrade guice as its error reporting wasn't *quite* compatible with JDK20.
2023-08-28 14:02:23 +02:00
..
config Upgrade antique lombok plugin 2023-08-23 14:34:32 +00:00
db (index) Move to a lexicon-free index design 2023-08-28 14:02:23 +02:00
linkdb (search) Basic working integration of linkdb in search service 2023-08-24 17:24:56 +02:00
model (system) Remove EdgeId<T> and similar objects 2023-08-24 17:46:02 +02:00
process (index) Move index construction to separate process. 2023-08-25 12:52:54 +02:00
renderer Upgrade antique lombok plugin 2023-08-23 14:34:32 +00:00
service Upgrade code to Java 20. 2023-08-23 13:37:49 +00:00
service-client Upgrade antique lombok plugin 2023-08-23 14:34:32 +00:00
service-discovery Upgrade code to Java 20. 2023-08-23 13:37:49 +00:00
readme.md Update readme.md 2023-03-25 15:27:11 +01:00

Common

These are packages containing the basic building blocks for running a service as well as shared models.

  • db contains SQL code and some database-related utilities.
  • config contains some @Injectables.
  • renderer contains utility code for rendering website templates.
  • service is the shared base classes for main methods and web services.
  • service-client is the shared base class for RPC.
  • service-discovery contains tools that lets the services find each other.
  • process contains boiler plate for batch processes.