mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Make search re-indexing multi-tenant aware
Makes things easier when having to reindex in multi-tenant deployments.
This commit is contained in:
parent
85b3f6e8ee
commit
8eb930d281
7 changed files with 731 additions and 684 deletions
|
@ -290,7 +290,9 @@ type GroupStorer interface {
|
|||
|
||||
// MetaStorer provide specialist methods for global administrators.
|
||||
type MetaStorer interface {
|
||||
GetDocumentsID(ctx domain.RequestContext) (documents []string, err error)
|
||||
GetDocumentPages(ctx domain.RequestContext, documentID string) (p []page.Page, err error)
|
||||
Documents(ctx domain.RequestContext) (documents []string, err error)
|
||||
Document(ctx domain.RequestContext, documentID string) (d doc.Document, err error)
|
||||
Pages(ctx domain.RequestContext, documentID string) (p []page.Page, err error)
|
||||
Attachments(ctx domain.RequestContext, docID string) (a []attachment.Attachment, err error)
|
||||
SearchIndexCount(ctx domain.RequestContext) (c int, err error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue