stub

package
v2.2.8+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package stub is a helper for testing indexation

Index

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

func (s *StubEngine) DeleteNode(context.Context, *tree.Node) error

func (*StubEngine) IndexNode

func (s *StubEngine) IndexNode(context.Context, *tree.Node, bool, map[string]struct{}) error

func (*StubEngine) SearchNodes

func (s *StubEngine) SearchNodes(c context.Context, queryObject *tree.Query, from int32, size int32, resultChan chan *tree.Node, facets chan *tree.SearchFacet, doneChan chan bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL