mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 13:19:02 +00:00
![]() Before the gRPC migration, the system would serve both public and internal requests over HTTP, but distinguish the two using path prefixes and a few HTTP Headers (X-Public, X-Context) added by the reverse proxy to prevent misconfigurations. Since internal requests meaningfully no longer use HTTP, this convention is just an obstacle now, adding the need to always run the system behind a reverse proxy that rewrites the paths. The change removes the path prefix, and updates the docker templates to reflect the change. This will require a migration for existing systems. |
||
---|---|---|
.. | ||
java/nu/marginalia/assistant | ||
build.gradle | ||
readme.md |
Assistant Service
The assistant service helps the search service by offering various peripheral functionality, such as spelling correction.
The assistant service exposes the functions/domain-info subsystem, which is responsible for knowledge about domains; and the functions/math subsystem, which is responsible for evaluating mathematical operations, spelling correction, and other peripheral functionality.
Central Classes
- AssistantService handles REST requests and delegates to the appropriate handling classes.