document

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InvertedIndexType = iota
	StorageIndexType
	BothIndexType
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DocId

type DocId uint64

type DocInfo

type DocInfo struct {
	Id     DocId
	Fields []*Field
}

type Field

type Field struct {
	Name      string
	IndexType IndexType
	Value     interface{}
	ValueType FieldType
}

type FieldType

type FieldType int64
const (
	BoolFieldType FieldType = iota
	IntFieldType
	FloatFieldType
	StringFieldType
	SliceFieldType
	MapFieldType
	SelfDefinedFieldType
	DefaultFieldType = StringFieldType
)

type IndexType

type IndexType int64

Jump to

Keyboard shortcuts

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