Documentation ¶
Index ¶
- func GetPropertyByName(c *models.Class, propName string) (*models.Property, error)
- func HasSearchableIndex(prop *models.Property) bool
- func PropertyHasSearchableIndex(class *models.Class, tentativePropertyName string) bool
- type ExploreMove
- type GroupBy
- type HybridSearch
- type KeywordRanking
- type NearObject
- type NearTextParams
- type NearVector
- type ObjectMove
- type WeightedSearchResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPropertyByName ¶ added in v1.25.1
GetPropertyByName returns the class by its name
func HasSearchableIndex ¶ added in v1.25.1
Indicates whether property should be indexed Index holds document ids with property of/containing particular value and number of its occurrences in that property (index created using bucket of StrategyMapCollection)
Types ¶
type ExploreMove ¶
type ExploreMove struct { Values []string Force float32 Objects []ObjectMove }
ExploreMove moves an existing Search Vector closer (or further away from) a specific other search term
type HybridSearch ¶
type HybridSearch struct { SubSearches interface{} `json:"subSearches"` Type string `json:"type"` Alpha float64 `json:"alpha"` Query string `json:"query"` Vector []float32 `json:"vector"` Properties []string `json:"properties"` TargetVectors []string `json:"targetVectors"` FusionAlgorithm int `json:"fusionalgorithm"` NearTextParams *NearTextParams NearVectorParams *NearVector }
type KeywordRanking ¶
type KeywordRanking struct { Type string `json:"type"` Properties []string `json:"properties"` Query string `json:"query"` AdditionalExplanations bool `json:"additionalExplanations"` }
func (*KeywordRanking) ChooseSearchableProperties ¶ added in v1.25.1
func (k *KeywordRanking) ChooseSearchableProperties(class *models.Class)
type NearObject ¶
type NearTextParams ¶
type NearTextParams struct { Values []string Limit int MoveTo ExploreMove MoveAwayFrom ExploreMove Certainty float64 Distance float64 WithDistance bool Network bool Autocorrect bool TargetVectors []string }
type NearVector ¶
type ObjectMove ¶
type WeightedSearchResult ¶
Click to show internal directories.
Click to hide internal directories.