stub

package
v5.0.0-...-b98a0e9 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 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 Engine

type Engine struct{}

func (*Engine) ClearIndex

func (s *Engine) ClearIndex(ctx context.Context) error

func (*Engine) Close

func (s *Engine) Close() error

func (*Engine) DeleteNode

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

func (*Engine) IndexNode

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

func (*Engine) SearchNodes

func (s *Engine) 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