functionscoremode

package
v8.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Overview

Package functionscoremode

Index

Constants

This section is empty.

Variables

View Source
var (
	Multiply = FunctionScoreMode{"multiply"}

	Sum = FunctionScoreMode{"sum"}

	Avg = FunctionScoreMode{"avg"}

	First = FunctionScoreMode{"first"}

	Max = FunctionScoreMode{"max"}

	Min = FunctionScoreMode{"min"}
)

Functions

This section is empty.

Types

type FunctionScoreMode

type FunctionScoreMode struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/5bf86339cd4bda77d07f6eaa6789b72f9c0279b1/specification/_types/query_dsl/compound.ts#L243-L268

func (FunctionScoreMode) MarshalText

func (f FunctionScoreMode) MarshalText() (text []byte, err error)

func (FunctionScoreMode) String

func (f FunctionScoreMode) String() string

func (*FunctionScoreMode) UnmarshalText

func (f *FunctionScoreMode) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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