Documentation ¶
Index ¶
- Constants
- type Extender
- func (e *Extender) AdditionalPropertyDefaultValue() interface{}
- func (e *Extender) AdditionalPropertyFn(ctx context.Context, in []search.Result, params interface{}, limit *int, ...) ([]search.Result, error)
- func (e *Extender) ExtractAdditionalFn(param []*ast.Argument) interface{}
- func (e *Extender) Multi(ctx context.Context, in []search.Result, limit *int) ([]search.Result, error)
- func (e *Extender) Single(ctx context.Context, in *search.Result, limit *int) (*search.Result, error)
Constants ¶
View Source
const ( DefaultLimit = 10 DefaultK = 32 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extender ¶
type Extender struct {
// contains filtered or unexported fields
}
func NewExtender ¶
func NewExtender(searcher contextionary) *Extender
func (*Extender) AdditionalPropertyDefaultValue ¶ added in v1.19.0
func (e *Extender) AdditionalPropertyDefaultValue() interface{}
func (*Extender) AdditionalPropertyFn ¶
func (*Extender) ExtractAdditionalFn ¶
Click to show internal directories.
Click to hide internal directories.