Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultTargetCombinationType = Minimum
no weights are set for default, needs to be added if this is changed to something else
Variables ¶
This section is empty.
Functions ¶
func GetVectors ¶ added in v1.29.0
Types ¶
type GetParams ¶
type GetParams struct {
Filters *filters.LocalFilter
ClassName string
Pagination *filters.Pagination
Cursor *filters.Cursor
Sort []filters.Sort
Properties search.SelectProperties
NearVector *searchparams.NearVector
NearObject *searchparams.NearObject
KeywordRanking *searchparams.KeywordRanking
HybridSearch *searchparams.HybridSearch
GroupBy *searchparams.GroupBy
TargetVector string
TargetVectorCombination *TargetCombination
Group *GroupParams
ModuleParams map[string]interface{}
AdditionalProperties additional.Properties
ReplicationProperties *additional.ReplicationProperties
Tenant string
IsRefOrigin bool // is created by ref filter
}
type GroupParams ¶
type TargetCombination ¶ added in v1.26.0
type TargetCombination struct {
// just one of these can be set, precedence in order
Type TargetCombinationType
Weights []float32
}
type TargetCombinationType ¶ added in v1.26.0
type TargetCombinationType int
const ( Sum TargetCombinationType = iota Average Minimum ManualWeights RelativeScore )
Click to show internal directories.
Click to hide internal directories.