bleve

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bleve

type Bleve struct {
	// contains filtered or unexported fields
}

Bleve implements storage.MessageSearchProvider

func New

func New(path string) (*Bleve, error)

func (*Bleve) Close

func (b *Bleve) Close()

func (*Bleve) Index

func (b *Bleve) Index(id string, message *storage.Message) error

func (*Bleve) SearchMessages

func (b *Bleve) SearchMessages(server, channel, q string) ([]string, error)

Jump to

Keyboard shortcuts

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