You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
345 B

package dao
import (
"context"
recall "go-common/app/service/bbq/recsys-recall/api/grpc/v1"
)
// SetInvertedIndex 倒排写入redis
func (d *Dao) SetInvertedIndex(c context.Context, key string, svids []int64) error {
_, err := d.recallClient.NewIncomeVideo(c, &recall.NewIncomeVideoRequest{
Key: key,
SVIDs: svids,
})
return err
}