MarginaliaSearch/code/common
Viktor Lofgren ae87e41cec (index) Fix rare BitReader.takeWhileZero bug
Fix rare bug where the takeWhileZero method would fail to repopulate the underlying buffer.  This caused intermittent de-compression errors if takeWhileZero happened at a 64 bit boundary while the underlying buffer was empty.

The change also alters how sequence-lengths are encoded, to more consistently use the getGamma method instead of adding special significance to a zero first byte.

Finally, assertions are added checking the invariants of the gamma and delta coding logic as well as UrlIdCodec to earlier detect issues.
2024-07-16 11:03:56 +02:00
..
config (*) Lift jetty and guava-dependencies 2024-05-23 14:20:01 +02:00
db (*) Lift jetty and guava-dependencies 2024-05-23 14:20:01 +02:00
linkdb (index) Reduce the number of abstractions around result ranking 2024-07-16 08:18:54 +02:00
model (index) Fix rare BitReader.takeWhileZero bug 2024-07-16 11:03:56 +02:00
process (test) Integration test from crawl->query 2024-06-25 22:17:26 +02:00
renderer (*) Lift jetty and guava-dependencies 2024-05-23 14:20:01 +02:00
service (log) Prevent tests from trying to log to file 2024-06-27 13:19:48 +02:00
readme.md (refac) Merge service-discovery and service modules 2024-03-03 10:49:23 +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, including a service registry interface.
  • process contains boiler plate for batch processes.