MarginaliaSearch/code/services-core/index-service
Viktor Lofgren 2ad0bfda1e (*) Fix boot orchestration for the services
This corrects an annoying bug that had the system crash and burn on first start-up due to a race condition in service initialization, where the services were attempting to access the database before it was properly migrated.

A fix was in principle already in place, but it was running too late and did not prevent attempts to access the as-yet uninitialized database.  Move the first boot check into the MainClass instead of the Service constructor.

The change also adds more appropriate docker dependencies to the services to fix rare errors resolving the hostname of the database.
2024-05-01 12:39:48 +02:00
..
java/nu/marginalia/index (*) Fix boot orchestration for the services 2024-05-01 12:39:48 +02:00
build.gradle (build) Java 22 and its consequences has been a disaster for Marginalia Search 2024-04-24 14:44:39 +02:00
readme.md Clean up docs 2024-02-22 18:18:58 +01:00

The index service is a partitioned service that knows which document contains which keywords.

image

It is the service that most directly executes a search query. It does this by evaluating a low-level query, and then using the index to find the documents that match the query, finally ranking the results and picking the best matches.

This module only contains service boilerplate. The guts of this service are in the index module.