Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions index.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ type UpdateIndex interface {
OpenMeta() error
}

type CustomizableIndex interface {
Index
KeysInUse() (map[string]struct{}, error)
DropKeys(ids map[string]struct{}) error
}

type IndexReader interface {
TermFieldReader(ctx context.Context, term []byte, field string, includeFreq, includeNorm, includeTermVectors bool) (TermFieldReader, error)

Expand Down
Loading