Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByPageAndOnPageRank ¶
func (ByPageAndOnPageRank) Len ¶
func (r ByPageAndOnPageRank) Len() int
func (ByPageAndOnPageRank) Less ¶
func (r ByPageAndOnPageRank) Less(i, j int) bool
func (ByPageAndOnPageRank) Swap ¶
func (r ByPageAndOnPageRank) Swap(i, j int)
type Results ¶
func (Results) Rank ¶ added in v0.22.0
func (r Results) Rank(rconf config.CategoryRanking)
Calculates the Score, sorts by it and then populates the Rank field of every result.
type Suggestions ¶ added in v0.22.0
type Suggestions []result.Suggestion
func (Suggestions) Rank ¶ added in v0.22.0
func (s Suggestions) Rank(rconf config.CategoryRanking)
Calculates the Score, sorts by it and then populates the Rank field of every result.
Click to show internal directories.
Click to hide internal directories.