dao

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package dao abstract the indexation engine and provides a bleve-based implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchEngine

type SearchEngine interface {
	IndexNode(context.Context, *tree.Node, bool, map[string]struct{}) error
	DeleteNode(context.Context, *tree.Node) error
	SearchNodes(context.Context, *tree.Query, int32, int32, chan *tree.Node, chan bool) error
	ClearIndex(ctx context.Context) error
	Close() error
}

Directories

Path Synopsis
Package bleve implements the search engine using a Bleve indexer.
Package bleve implements the search engine using a Bleve indexer.
Package stub is a helper for testing indexation
Package stub is a helper for testing indexation

Jump to

Keyboard shortcuts

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