opensearch

package
v5.4.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2020 License: BSD-3-Clause, BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterScore

func FilterScore(score float64) bool

func Local

func Local(mctx libkb.MetaContext, query string, limit int) (res []keybase1.TeamSearchItem, err error)

Local performs a local search for Keybase open teams.

func Remote

func Remote(mctx libkb.MetaContext, query string, limit int) ([]keybase1.TeamSearchItem, error)

func ScoreDescription

func ScoreDescription(desc, qtok string) (score float64)

func ScoreName

func ScoreName(name, qtok string) (score float64)

Types

type RankedSearchItem

type RankedSearchItem interface {
	Score(query string) float64
	String() string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL