Skip to content

Commit

Permalink
Index Stash
Browse files Browse the repository at this point in the history
  • Loading branch information
Likith101 committed Feb 4, 2025
1 parent d72825e commit 4cd40cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ type EventIndex interface {
FireIndexEvent()
}

type FieldInfo struct {
All bool
type UpdateFieldInfo struct {
RemoveAll bool
Store bool
Index bool
DocValues bool
}

type UpdateIndex interface {
Index
UpdateFields(fieldInfo map[string]*FieldInfo, updatedMapping []byte) error
UpdateFields(fieldInfo map[string]*UpdateFieldInfo, updatedMapping []byte) error
}

type IndexReader interface {
Expand Down

0 comments on commit 4cd40cb

Please sign in to comment.