Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultLimit = 100
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Params ¶
type Params struct { *searchparams.HybridSearch Keyword *searchparams.KeywordRanking Class string }
type Result ¶
Result facilitates the pairing of a search result with its internal doc id.
This type is key in generalising hybrid search across different use cases. Some use cases require a full search result (Get{} queries) and others need only a doc id (Aggregate{}) which the search.Result type does not contain.
func FusionReciprocal ¶
type Searcher ¶
type Searcher struct {
// contains filtered or unexported fields
}
func NewSearcher ¶
func NewSearcher(params *Params, logger logrus.FieldLogger, sparse sparseSearchFunc, dense denseSearchFunc, postProc postProcFunc, modulesProvider modulesProvider, ) *Searcher
Click to show internal directories.
Click to hide internal directories.