blevefts

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indexer

type Indexer struct {
	fts.Indexer
	// contains filtered or unexported fields
}

func Create

func Create(path, language string) (*Indexer, error)

func Open

func Open(path string) (*Indexer, error)

func (*Indexer) AddBooks

func (i *Indexer) AddBooks(books []*fts.Book, partial bool) error

func (*Indexer) Close

func (i *Indexer) Close() error

func (*Indexer) GetMostRecentBooks

func (i *Indexer) GetMostRecentBooks(count int) ([]string, error)

func (*Indexer) SearchByField

func (i *Indexer) SearchByField(field, s string, page, pageSize int) (*fts.SearchResult, error)

Jump to

Keyboard shortcuts

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