MarginaliaSearch/code/services-core
Viktor Lofgren f655ec5a5c (*) Refactor GeoIP-related code
In this commit, GeoIP-related classes are refactored and relocated to a common library as they are shared across multiple services.

The crawler is refactored to enable the GeoIpBlocklist to use the new GeoIpDictionary as the base of its decisions.

The converter is modified ot query this data to add a geoip:-keyword to documents to permit limiting a search to the country of the hosting server.

The commit also adds due BY-SA attribution in the search engine footer for the source of the IP geolocation data.
2023-12-10 17:30:43 +01:00
..
assistant-service (*) Refactor GeoIP-related code 2023-12-10 17:30:43 +01:00
control-service (control) Fix spurious state detection in control-side actors 2023-12-09 12:50:05 +01:00
executor-service (control) Automatic recrawl 2023-12-02 17:06:24 +01:00
index-service (*) Rename the search filter 'RETRO' into 'POPULAR' 2023-12-09 20:06:54 +01:00
query-service Refactoring 2023-10-25 18:51:02 +02:00
readme.md (refactor) Move search service into services-satellite 2023-10-09 13:40:01 +02:00

Core Services

The cores services constitute the main functionality of the search engine, relatively agnostic to the Marginalia application.

  • The index-service contains the indexes, it answers questions about which documents contain which terms.

  • The query-service Interprets queries and delegates work to index-service.

  • The control-service provides an operator's user interface, and is responsible for orchestrating the various processes of the system.

  • The assistant-service helps the search service with spelling suggestions other peripheral functionality.