MarginaliaSearch/code/api
Viktor Lofgren 8ef34883a8 (search) Move site information out of the search service and into assistant.
This reduces the impact of restarting the search service, as the site information takes a few minutes to load during which it's not available.  It also permits exposing this information via API in the future if there is interest in this.

The assistant service was also modified to do a late load of the suggestions trie, as this is a major contributor to its start-up time.

Finally, some changes were made to the client library, a new get() method was added that takes a TypeToken to allow deserialization of generics such as List<Foo>, and the scheduler was also modified to use virtual threads.
2023-12-09 16:30:06 +01:00
..
assistant-api (search) Move site information out of the search service and into assistant. 2023-12-09 16:30:06 +01:00
executor-api (control) Fix spurious state detection in control-side actors 2023-12-09 12:50:05 +01:00
index-api (control) Reindex-all actor 2023-11-28 16:41:09 +01:00
process-mqapi Refactoring 2023-10-25 18:51:02 +02:00
query-api (metrics) Get prometheus up out of disrepair 2023-11-08 14:01:28 +01:00
readme.md (refactor) Remove features-search and update documentation 2023-10-09 15:12:30 +02:00

Clients

Core Services

These are clients for the core services, along with what models are necessary for speaking to them. They each implement the abstract client classes from service-client.

All that is necessary is to @Inject them into the constructor and then requests can be sent.

Note: If you are looking for the public API, it's handled by the api service in services-application/api-service.

MQ-API Process API

process-mqapi defines requests and inboxes for the message queue based API used for interacting with processes.

See libraries/message-queue and services-application/control-service.