Skip to content

Commit cbd6cc5

Browse files
committed
MB-65860: Added new interface for callbacks
1 parent f150833 commit cbd6cc5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

segment.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ type UpdatableSegment interface {
6767
SetUpdatedFields(fieldInfo map[string]*index.UpdateFieldInfo)
6868
}
6969

70+
type CustomizableSegment interface {
71+
Segment
72+
CallbackId() string
73+
}
74+
7075
type TermDictionary interface {
7176
PostingsList(term []byte, except *roaring.Bitmap, prealloc PostingsList) (PostingsList, error)
7277

0 commit comments

Comments
 (0)