search

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForceReIndex

func ForceReIndex(e eagle.Eagle, i bleve.Index)

func ForceReIndexStreaming

func ForceReIndexStreaming(e eagle.Eagle, i bleve.Index)

func Index

func Index(e eagle.Eagle, i bleve.Index)

func Initialize

func Initialize(e eagle.Eagle) bleve.Index

create or open a new index mapping := bleve.NewIndexMapping()

Types

type Search struct {
	eagle.Eagle
	Index bleve.Index
}

func New

func New(e eagle.Eagle) *Search

create or open a new index mapping := bleve.NewIndexMapping() remember to call Search.Index.Close. may call log.Fatalf

func (*Search) Query

func (s *Search) Query(q string)

search for some text

Jump to

Keyboard shortcuts

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