search

package
v0.0.0-...-554f554 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const Tag feature.Tag = "search-quoted"

Variables

This section is empty.

Functions

This section is empty.

Types

type CFeature

type CFeature struct {
	feature.CFeature
	// contains filtered or unexported fields
}

func (*CFeature) AddToSearchIndex

func (f *CFeature) AddToSearchIndex(stub *feature.PageStub, p feature.Page) (err error)

func (*CFeature) Init

func (f *CFeature) Init(this interface{})

func (*CFeature) Make

func (f *CFeature) Make() Feature

func (*CFeature) PerformSearch

func (f *CFeature) PerformSearch(tag language.Tag, input string, size, pg int) (bsr *bleve.SearchResult, err error)

func (*CFeature) PostStartup

func (f *CFeature) PostStartup(ctx *cli.Context) (err error)

func (*CFeature) PrepareSearch

func (f *CFeature) PrepareSearch(tag language.Tag, input string) (query string)

func (*CFeature) RemoveFromSearchIndex

func (f *CFeature) RemoveFromSearchIndex(stub *feature.PageStub, p feature.Page)

func (*CFeature) SearchResultsPostProcess

func (f *CFeature) SearchResultsPostProcess(r *http.Request, p feature.Page)

func (*CFeature) Setup

func (f *CFeature) Setup(enjin feature.Internals)

func (*CFeature) Startup

func (f *CFeature) Startup(ctx *cli.Context) (err error)

type MakeFeature

type MakeFeature interface {
	Make() Feature
}

func New

func New() MakeFeature

Jump to

Keyboard shortcuts

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