Documentation
¶
Index ¶
- Constants
- func Filter(idx string, filter string, sort []string, page *pagination.Page) (*pagination.Pagination[any], error)
- type TxOrdIndexer
- func (idx *TxOrdIndexer) GetName() string
- func (idx *TxOrdIndexer) GetPayerDigest(payer collar.Link) map[string]any
- func (idx *TxOrdIndexer) GetPaymentDigest(paymentID payment.ID) (map[string]any, error)
- func (idx *TxOrdIndexer) GetShippingDigest(shippingID shipping.ID) (map[string]any, error)
- func (idx *TxOrdIndexer) GetVersion() string
- func (idx *TxOrdIndexer) Load(autoID int64) (hmeili.Document, error)
- func (idx *TxOrdIndexer) Setting(index meilisearch.IndexManager) error
Constants ¶
View Source
const ( ProductIndex = prodidx.VwhProdIndex ProductPwhIndex = prodidx.PwhProdIndex SpuIndex = prodidx.SpuIndex )
View Source
const (
OrdIndex = "hyper_order"
)
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
func Filter(idx string, filter string, sort []string, page *pagination.Page) (*pagination.Pagination[any], error)
Types ¶
type TxOrdIndexer ¶
type TxOrdIndexer struct{}
func (*TxOrdIndexer) GetName ¶
func (idx *TxOrdIndexer) GetName() string
func (*TxOrdIndexer) GetPayerDigest ¶
func (idx *TxOrdIndexer) GetPayerDigest(payer collar.Link) map[string]any
func (*TxOrdIndexer) GetPaymentDigest ¶
func (*TxOrdIndexer) GetShippingDigest ¶
func (*TxOrdIndexer) GetVersion ¶
func (idx *TxOrdIndexer) GetVersion() string
func (*TxOrdIndexer) Setting ¶
func (idx *TxOrdIndexer) Setting(index meilisearch.IndexManager) error
Click to show internal directories.
Click to hide internal directories.