bleve

package
v4.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

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

func NewQueryCodec

func NewQueryCodec(values configx.Values, provider *meta.NsProvider) *Codec

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