bleve

package
v5.0.0-...-0681bf2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: AGPL-3.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FastBleveDAO

func FastBleveDAO(ctx context.Context, v *bleve2.Indexer) search.Engine

func NewBleveDAO

func NewBleveDAO(ctx context.Context, v *bleve2.Indexer) search.Engine

Types

type Codec

type Codec struct {
	ResultBasenameFacetCount int32
	ResultContentFacetCount  int32
	// contains filtered or unexported fields
}

func (*Codec) BuildQuery

func (b *Codec) BuildQuery(qu interface{}, offset, limit int32, sortFields string, sortDesc bool) (interface{}, interface{}, error)

func (*Codec) FlushCustomFacets

func (b *Codec) FlushCustomFacets() (facets []interface{})

func (*Codec) GetModel

func (b *Codec) GetModel(cfg configx.Values) (interface{}, bool)

func (*Codec) Marshal

func (b *Codec) Marshal(input interface{}) (interface{}, error)

func (*Codec) Unmarshal

func (b *Codec) Unmarshal(indexed interface{}) (interface{}, error)

func (*Codec) UnmarshalFacet

func (b *Codec) UnmarshalFacet(data interface{}, facets chan interface{})

Jump to

Keyboard shortcuts

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