WIP: Experiment: extract Searcher into an Actor #807

Chiuso
igalic vuole unire 2 commit da igalic/Plume:refactor/extract-searcher a main
Proprietario

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 ha aggiunto 2 commit 2020-07-22 21:15:04 +00:00
and implement AddDocument message!
This code compiles, but hasn't been put to use yet.
Autore
Proprietario

closing in favour of #813

closing in favour of #813
igalic ha chiuso questa richiesta di modifica 2020-07-26 19:37:41 +00:00

Richiesta di modifica chiusa

Effettua l'accesso per partecipare alla conversazione.
Nessun revisore
Nessuna pietra miliare
Nessun progetto
Nessun assegnatario
1 partecipante
Notifiche
Scadenza
La scadenza non è valida o fuori intervallo. Si prega di utilizzare il formato "aaaa-mm-dd".

Nessuna scadenza impostata.

Dipendenze

Nessuna dipendenza impostata.

Riferimento: Plume/Plume#807
Descrizione non fornita.