WIP: Experiment: extract Searcher into an Actor #807

Suljettu
igalic haluaa yhdistää 2 committia lähteestä igalic/Plume:refactor/extract-searcher kohteeseen main
Omistaja

The goal of this pull request is to remove Searcher from PlumeRocket, as described in #799.
The strategy in this pull request is to use a riker actor and

  • Wrap Searcher & DbPool into an actor
  • create messages for add, delete, update
  • initialize actor system in main()
  • manage "actor system, so we have easy access to it
  • RequestGuard on ActorSystem, to allow access to it
  • instead of using &PlumeRocket.Searcher, use ActorSystem to send a message to our SearcherActor
The goal of this pull request is to remove `Searcher` from `PlumeRocket`, as described in #799. The strategy in this pull request is to use a riker actor and - Wrap Searcher & DbPool into an actor - create messages for add, delete, update - initialize actor system in `main()` - manage "actor system, so we have easy access to it - RequestGuard on ActorSystem, to allow access to it - instead of using `&PlumeRocket.Searcher`, use ActorSystem to send a message to our SearcherActor
igalic lisäsi 2 committia 2020-07-22 21:15:04 +00:00
and implement AddDocument message!
This code compiles, but hasn't been put to use yet.
Tekijä
Omistaja

closing in favour of #813

closing in favour of #813
igalic closed this pull request 2020-07-26 19:37:41 +00:00

Vetopyyntö suljettu

Kirjaudu sisään liittyäksesi keskusteluun.
No reviewers
Ei merkkipaalua
Ei projektia
Ei käsittelijää
1 osallistuja
Ilmoitukset
Määräpäivä
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

Määräpäivää ei ole asetettu.

Riippuvuudet

Riippuvuuksia ei asetettu.

Viittaus: Plume/Plume#807
Ei kuvausta.