Merged in feature/doctextstructure (pull request #56)
DocTextRunner Structure * firstround * shorttests
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"os"
|
||||
controllers "queryorchestration/api/queryRunner"
|
||||
"queryorchestration/internal/document"
|
||||
documenttext "queryorchestration/internal/document/text"
|
||||
"queryorchestration/internal/job/collector"
|
||||
"queryorchestration/internal/query"
|
||||
"queryorchestration/internal/query/result"
|
||||
@@ -21,7 +20,6 @@ func main() {
|
||||
cfg := &runner.BaseConfig{}
|
||||
|
||||
cfg.ControllerFunc = func() runner.Controller {
|
||||
text := documenttext.New()
|
||||
doc := document.New(cfg)
|
||||
col := collector.New(cfg, &collector.Services{
|
||||
Document: doc,
|
||||
@@ -29,7 +27,6 @@ func main() {
|
||||
res := result.New(cfg)
|
||||
svc := query.New(cfg, &query.Services{
|
||||
Result: res,
|
||||
Text: text,
|
||||
Collector: col,
|
||||
Document: doc,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user