Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 GraphQLArgumentsProvider ¶
type GraphQLArgumentsProvider struct {
// contains filtered or unexported fields
}
func New ¶
func New(nearTextTransformer modulecapabilities.TextTransform) *GraphQLArgumentsProvider
func (*GraphQLArgumentsProvider) Arguments ¶
func (g *GraphQLArgumentsProvider) Arguments() map[string]modulecapabilities.GraphQLArgument
type NearTextParams ¶
type NearTextParams struct { Values []string Limit int MoveTo ExploreMove MoveAwayFrom ExploreMove Certainty float64 Distance float64 WithDistance bool Network bool Autocorrect bool }
func NewNearTextParams ¶
func NewNearTextParams() *NearTextParams
func (NearTextParams) GetCertainty ¶
func (n NearTextParams) GetCertainty() float64
func (NearTextParams) GetDistance ¶
func (n NearTextParams) GetDistance() float64
func (NearTextParams) SimilarityMetricProvided ¶
func (n NearTextParams) SimilarityMetricProvided() bool
type ObjectMove ¶
type Searcher ¶
type Searcher struct {
// contains filtered or unexported fields
}
func NewSearcher ¶
func NewSearcher(vectorizer vectorizer) *Searcher
func (*Searcher) VectorSearches ¶
func (s *Searcher) VectorSearches() map[string]modulecapabilities.VectorForParams
Click to show internal directories.
Click to hide internal directories.