diff --git a/segment.go b/segment.go index 4e2dbad..2b3c50c 100644 --- a/segment.go +++ b/segment.go @@ -67,6 +67,11 @@ type UpdatableSegment interface { SetUpdatedFields(fieldInfo map[string]*index.UpdateFieldInfo) } +type SegmentWithCallbacks interface { + Segment + CallbackId() string +} + type TermDictionary interface { PostingsList(term []byte, except *roaring.Bitmap, prealloc PostingsList) (PostingsList, error)