searchclient

package
v0.0.0-...-3414fa2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteSearchHistoryRequest

type DeleteSearchHistoryRequest = search.DeleteSearchHistoryRequest

type DeleteSearchHistoryResponse

type DeleteSearchHistoryResponse = search.DeleteSearchHistoryResponse

type FacetResult

type FacetResult = search.FacetResult

type FacetValue

type FacetValue = search.FacetValue

type FilterOption

type FilterOption = search.FilterOption

type GetHotKeywordsRequest

type GetHotKeywordsRequest = search.GetHotKeywordsRequest

type GetHotKeywordsResponse

type GetHotKeywordsResponse = search.GetHotKeywordsResponse

type GetSearchHistoryRequest

type GetSearchHistoryRequest = search.GetSearchHistoryRequest

type GetSearchHistoryResponse

type GetSearchHistoryResponse = search.GetSearchHistoryResponse

type GetSearchSuggestionsRequest

type GetSearchSuggestionsRequest = search.GetSearchSuggestionsRequest

type GetSearchSuggestionsResponse

type GetSearchSuggestionsResponse = search.GetSearchSuggestionsResponse

type HotKeyword

type HotKeyword = search.HotKeyword

type ProductInfo

type ProductInfo = search.ProductInfo

type RemoveProductRequest

type RemoveProductRequest = search.RemoveProductRequest

type RemoveProductResponse

type RemoveProductResponse = search.RemoveProductResponse

type SaveSearchHistoryRequest

type SaveSearchHistoryRequest = search.SaveSearchHistoryRequest

type SaveSearchHistoryResponse

type SaveSearchHistoryResponse = search.SaveSearchHistoryResponse
type Search interface {
	// 商品搜索
	SearchProducts(ctx context.Context, in *SearchProductsRequest, opts ...grpc.CallOption) (*SearchProductsResponse, error)
	GetHotKeywords(ctx context.Context, in *GetHotKeywordsRequest, opts ...grpc.CallOption) (*GetHotKeywordsResponse, error)
	GetSearchSuggestions(ctx context.Context, in *GetSearchSuggestionsRequest, opts ...grpc.CallOption) (*GetSearchSuggestionsResponse, error)
	SaveSearchHistory(ctx context.Context, in *SaveSearchHistoryRequest, opts ...grpc.CallOption) (*SaveSearchHistoryResponse, error)
	GetSearchHistory(ctx context.Context, in *GetSearchHistoryRequest, opts ...grpc.CallOption) (*GetSearchHistoryResponse, error)
	DeleteSearchHistory(ctx context.Context, in *DeleteSearchHistoryRequest, opts ...grpc.CallOption) (*DeleteSearchHistoryResponse, error)
	// 索引管理
	SyncProduct(ctx context.Context, in *SyncProductRequest, opts ...grpc.CallOption) (*SyncProductResponse, error)
	RemoveProduct(ctx context.Context, in *RemoveProductRequest, opts ...grpc.CallOption) (*RemoveProductResponse, error)
}

func NewSearch

func NewSearch(cli zrpc.Client) Search

type SearchHistory

type SearchHistory = search.SearchHistory

type SearchProductsRequest

type SearchProductsRequest = search.SearchProductsRequest

type SearchProductsResponse

type SearchProductsResponse = search.SearchProductsResponse

type SortOption

type SortOption = search.SortOption

type SyncProductRequest

type SyncProductRequest = search.SyncProductRequest

type SyncProductResponse

type SyncProductResponse = search.SyncProductResponse

Jump to

Keyboard shortcuts

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