index

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MergeSetIndex             = "mergeset"
	TextIndex                 = "text"
	FieldIndex                = "field"
	TimeClusterIndex          = "timecluster"
	BloomFilterIndex          = "bloomfilter"
	BloomFilterFullTextIndex  = "bloomfilter_fulltext"
	BloomFilterUniversalIndex = "bloomfilter_universal"
	MinMaxIndex               = "minmax"
	SetIndex                  = "set"
	BloomFilterIpIndex        = "bloomfilter_ip"
)

Variables

Functions

func GetIndexNameByType

func GetIndexNameByType(id IndexType) (string, error)

Types

type ContextKey added in v1.4.0

type ContextKey string
const (
	QueryIndexState ContextKey = "QueryIndexState"
)

type IndexType

type IndexType int
const (
	MergeSet IndexType = iota
	Text
	Field
	TimeCluster
	BloomFilter
	BloomFilterFullText
	MinMax
	Set
	IndexTypeAll
	BloomFilterIp
	BloomFilterUniversal
)

func GetIndexTypeByName

func GetIndexTypeByName(name string) (IndexType, error)

Jump to

Keyboard shortcuts

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