mirror of
https://github.com/documize/community.git
synced 2025-08-04 21:15:24 +02:00
Continued MySQL/PostgreSQL store provider refactoring
Refactored, renamed, removed storage related code. Basic smoke test passed for PostgreSQL whilst fully working on MySQL variants as per usual.
This commit is contained in:
parent
b455e5eaf5
commit
97beb3f4d3
81 changed files with 1454 additions and 1497 deletions
|
@ -13,17 +13,17 @@ package search
|
|||
|
||||
import (
|
||||
"github.com/documize/community/core/env"
|
||||
"github.com/documize/community/domain"
|
||||
"github.com/documize/community/domain/store"
|
||||
)
|
||||
|
||||
// Indexer documents!
|
||||
type Indexer struct {
|
||||
runtime *env.Runtime
|
||||
store *domain.Store
|
||||
store *store.Store
|
||||
}
|
||||
|
||||
// NewIndexer provides background search indexer
|
||||
func NewIndexer(rt *env.Runtime, s *domain.Store) (i Indexer) {
|
||||
func NewIndexer(rt *env.Runtime, s *store.Store) (i Indexer) {
|
||||
i = Indexer{}
|
||||
i.runtime = rt
|
||||
i.store = s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue