MCPcopy Index your code
hub / github.com/apache/answer / SearchQuestions

Method SearchQuestions

internal/service/search_common/search.go:31–31  ·  view source on GitHub ↗
(ctx context.Context, words []string, tagIDs [][]string, notAccepted bool, views, answers int, page, size int, order string)

Source from the content-addressed store, hash-verified

29type SearchRepo interface {
30 SearchContents(ctx context.Context, words []string, tagIDs [][]string, userID string, votes, page, size int, order string) (resp []*schema.SearchResult, total int64, err error)
31 SearchQuestions(ctx context.Context, words []string, tagIDs [][]string, notAccepted bool, views, answers int, page, size int, order string) (resp []*schema.SearchResult, total int64, err error)
32 SearchAnswers(ctx context.Context, words []string, tagIDs [][]string, accepted bool, questionID string, page, size int, order string) (resp []*schema.SearchResult, total int64, err error)
33 ParseSearchPluginResult(ctx context.Context, sres []plugin.SearchResult, words []string) (resp []*schema.SearchResult, err error)
34}

Callers 2

SearchMethod · 0.65
searchByPluginMethod · 0.65

Implementers 1

searchRepointernal/repo/search_common/search_rep

Calls

no outgoing calls

Tested by

no test coverage detected