Documentation
¶
Index ¶
- func Callback() map[string]interface{}
- type Base
- type Database
- type Index
- type Negative
- func (i *Negative) AddNegative(dbName string, request *model.NegativeDoc) (string, error)
- func (i *Negative) AllKeys(dbName string, request *model.NegSearch) ([]negative.KeyItem, error)
- func (i *Negative) BatchAddNegative(dbName string, request *[]model.NegativeDoc) ([]string, error)
- func (i *Negative) HasNegative(dbName string, request *model.NegSearch) ([]negative.KeyItem, error)
- func (i *Negative) QueryNegative(dbName string, request *model.NegSearch) (*model.NegResult, error)
- func (i *Negative) RemoveNegative(dbName string, request *model.RemoveNegativeModel) error
- type Notice
- type Word
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Database ¶
func NewDatabase ¶
func NewDatabase() *Database
type Index ¶
func (*Index) BatchAddIndex ¶
BatchAddIndex 批次添加索引
func (*Index) IndexTaskCount ¶
func (*Index) RemoveIndex ¶
func (i *Index) RemoveIndex(dbName string, data *model.RemoveIndexModel) error
RemoveIndex 删除索引
type Negative ¶
func NewNegative ¶
func NewNegative() *Negative
func (*Negative) AddNegative ¶
AddNegative 添加索引
func (*Negative) BatchAddNegative ¶
func (*Negative) HasNegative ¶
func (*Negative) QueryNegative ¶
func (*Negative) RemoveNegative ¶
func (i *Negative) RemoveNegative(dbName string, request *model.RemoveNegativeModel) error
Click to show internal directories.
Click to hide internal directories.