mirror of
https://github.com/documize/community.git
synced 2025-08-02 12:05:23 +02:00
Rebuild search index
This commit is contained in:
parent
30315a36c7
commit
df0a13b6ed
18 changed files with 960 additions and 669 deletions
|
@ -42,6 +42,7 @@ type Store struct {
|
|||
Document DocumentStorer
|
||||
Group GroupStorer
|
||||
Link LinkStorer
|
||||
Meta MetaStorer
|
||||
Organization OrganizationStorer
|
||||
Page PageStorer
|
||||
Pin PinStorer
|
||||
|
@ -282,3 +283,10 @@ type GroupStorer interface {
|
|||
JoinGroup(ctx RequestContext, groupID, userID string) (err error)
|
||||
LeaveGroup(ctx RequestContext, groupID, userID string) (err error)
|
||||
}
|
||||
|
||||
// MetaStorer provide specialist methods for global administrators.
|
||||
type MetaStorer interface {
|
||||
GetDocumentsID(ctx RequestContext) (documents []string, err error)
|
||||
GetDocumentPages(ctx RequestContext, documentID string) (p []page.Page, err error)
|
||||
SearchIndexCount(ctx RequestContext) (c int, err error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue