Documentation ¶
Index ¶
Constants ¶
View Source
const ( INDEXPRODUCTS = "products" INDEXCATEGORIES = "categories" INDEXSTORES = "stores" INDEXPRODUCTQUERIES = "product_queries" )
Variables ¶
View Source
var ErrNoSearchResults = errors.New("no search results found")
Functions ¶
This section is empty.
Types ¶
type ProductResults ¶
type ProductsParams ¶
type QuerySuggestionResults ¶
type Searcher ¶
type Searcher interface { SearchQuerySuggestions(ctx context.Context, q string) (QuerySuggestionResults, error) SearchProducts(ctx context.Context, q string, params ProductsParams) (ProductResults, int64, error) }
Click to show internal directories.
Click to hide internal directories.