Documentation ¶
Overview ¶
Package functionscoremode https://github.com/elastic/elasticsearch-specification/blob/1b56d7e58f5c59f05d1641c6d6a8117c5e01d741/specification/_types/query_dsl/compound.ts#L129-L136
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 {
// contains filtered or unexported fields
}
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
Click to show internal directories.
Click to hide internal directories.