index

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForEachIndexCallback

type ForEachIndexCallback func(isMultiTenantIndex bool, idx Index) error

type Index

type Index interface {
	Name() string
	Path() string
	Close() error
	Reader() (io.ReadSeeker, error)
}

type OpenIndexFileFunc

type OpenIndexFileFunc func(string) (Index, error)

OpenIndexFileFunc opens an index file stored at the given path. There is a possibility of files being corrupted due to abrupt shutdown so the implementation should take care of gracefully handling failures in opening corrupted files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL