Documentation ¶
Index ¶
- func Init(indexPath *string) (bleve.Index, error)
- type Bleve
- func (b *Bleve) BatchIndex(ctx context.Context, nodes []model.SearchNode) error
- func (b *Bleve) Clear(ctx context.Context) error
- func (b *Bleve) Config() searcher.Config
- func (b *Bleve) Del(ctx context.Context, prefix string) error
- func (b *Bleve) Get(ctx context.Context, parent string) ([]model.SearchNode, error)
- func (b *Bleve) Index(ctx context.Context, node model.SearchNode) error
- func (b *Bleve) Release(ctx context.Context) error
- func (b *Bleve) Search(ctx context.Context, req model.SearchReq) ([]model.SearchNode, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.