MarginaliaSearch/code/libraries
Viktor Lofgren 6efc0f21fe (index) Clean up data model
The change set cleans up the data model for the term-level data.  This used to contain a bunch of fields with document-level metadata.  This data-duplication means a larger memory footprint and worse memory locality.

The ranking code is also modified to not accept SearchResultKeywordScores, but rather CompiledQueryLong and CqDataInts containing only the term metadata and the frequency information needed for ranking.  This is again an effort to improve memory locality.
2024-04-24 14:44:39 +02:00
..
array (index) Clean up new index query code 2024-04-24 14:44:38 +02:00
big-string (sys) Upgrade to JDK22 2024-03-21 14:27:13 +01:00
blocking-thread-pool (sys) Upgrade to JDK22 2024-03-21 14:27:13 +01:00
braille-block-punch-cards (sys) Upgrade to JDK22 2024-03-21 14:27:13 +01:00
btree (qs, index) New query model integrated with index service. 2024-04-24 14:44:38 +02:00
easy-lsh (sys) Upgrade to JDK22 2024-03-21 14:27:13 +01:00
geo-ip (sys) Upgrade to JDK22 2024-03-21 14:27:13 +01:00
guarded-regex (sys) Upgrade to JDK22 2024-03-21 14:27:13 +01:00
language-processing (sentence-extractor) Fix resource leak in sentence extractor 2024-04-24 14:44:38 +02:00
message-queue (sys) Upgrade to JDK22 2024-03-21 14:27:13 +01:00
next-prime (sys) Upgrade to JDK22 2024-03-21 14:27:13 +01:00
random-write-funnel (sys) Upgrade to JDK22 2024-03-21 14:27:13 +01:00
term-frequency-dict (index) Clean up data model 2024-04-24 14:44:39 +02:00
test-helpers (sys) Upgrade to JDK22 2024-03-21 14:27:13 +01:00
LICENSE.txt The refactoring will continue until morale improves. 2023-03-12 10:50:31 +01:00
readme.md (mq) Refactor mq and actor library and move it to libraries out of common 2023-08-15 10:53:23 +02:00

Libraries

These are libraries that are not strongly coupled to the search engine's business logic. These libraries may not depend on features, services, processes, models, etc.

NOTE: These libraries are co-licensed under the MIT license.

Libraries

  • The array library is for memory mapping large memory-areas, which Java has bad support for. It's designed to be able to easily replaced when Java's Foreign Function And Memory API is released.
  • The btree library offers a static BTree implementation based on the array library.
  • language-processing contains primitives for sentence extraction and POS-tagging.
  • The message-queue library.

Micro libraries

  • easy-lsh is a simple locality-sensitive hash for document deduplication
  • guarded-regex makes predicated regular expressions clearer
  • big-string offers seamless string compression
  • random-write-funnel is a tool for reducing write amplification when constructing large files out of order.
  • next-prime naive brute force prime sieve.
  • braille-block-punch-cards renders bit masks into human-readable dot matrices using the braille block.