search

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NoCreate       bool
	InferenceDepth int32
	PrimaryKey     []string
	AutoGenerate   []string
	UpdateSchema   bool
	Append         bool

	BatchSize int32 = 100

	CleanUpNULLs = true

	CSVDelimiter        string
	CSVComment          string
	CSVTrimLeadingSpace bool
	CSVNoHeader         bool

	ErrIndexShouldExist = fmt.Errorf("index should exist to import CSV with no field names")
	ErrNoAppend         = fmt.Errorf(
		"index exists. use --append if you need to add documents to existing collection")
)
View Source
var ErrSchemaNameMissing = fmt.Errorf("schema name is missing")
View Source
var RootCmd = &cobra.Command{
	Use:   "search",
	Short: "Search related commands",
}

Functions

This section is empty.

Types

type DescribeIndexResponse

type DescribeIndexResponse struct {
	Index  string          `json:"index,omitempty"`
	Schema json.RawMessage `json:"schema,omitempty"`
}

DescribeIndexResponse adapter to convert Schema field to json.RawMessage.

Jump to

Keyboard shortcuts

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