Documentation ¶
Overview ¶
Package stub is a helper for testing indexation
Index ¶
- type StubEngine
- func (s *StubEngine) ClearIndex(ctx context.Context) error
- func (s *StubEngine) Close() error
- func (s *StubEngine) DeleteNode(context.Context, *tree.Node) error
- func (s *StubEngine) IndexNode(context.Context, *tree.Node, bool, map[string]struct{}) error
- func (s *StubEngine) SearchNodes(c context.Context, queryObject *tree.Query, from int32, size int32, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StubEngine ¶
type StubEngine struct{}
func (*StubEngine) ClearIndex ¶
func (s *StubEngine) ClearIndex(ctx context.Context) error
func (*StubEngine) Close ¶
func (s *StubEngine) Close() error
func (*StubEngine) DeleteNode ¶
Click to show internal directories.
Click to hide internal directories.