scoremode

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: 4

Documentation

Overview

Package scoremode

Index

Constants

This section is empty.

Variables

View Source
var (
	Avg = ScoreMode{"avg"}

	Max = ScoreMode{"max"}

	Min = ScoreMode{"min"}

	Multiply = ScoreMode{"multiply"}

	Total = ScoreMode{"total"}
)

Functions

This section is empty.

Types

type ScoreMode

type ScoreMode struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/5bf86339cd4bda77d07f6eaa6789b72f9c0279b1/specification/_global/search/_types/rescoring.ts#L52-L74

func (ScoreMode) MarshalText

func (s ScoreMode) MarshalText() (text []byte, err error)

func (ScoreMode) String

func (s ScoreMode) String() string

func (*ScoreMode) UnmarshalText

func (s *ScoreMode) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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