bleve: github.com/blevesearch/bleve/search/facet Index | Files

package facet

import "github.com/blevesearch/bleve/search/facet"

Index

Package Files

facet_builder_datetime.go facet_builder_numeric.go facet_builder_terms.go

type DateTimeFacetBuilder Uses

type DateTimeFacetBuilder struct {
    // contains filtered or unexported fields
}

func NewDateTimeFacetBuilder Uses

func NewDateTimeFacetBuilder(field string, size int) *DateTimeFacetBuilder

func (*DateTimeFacetBuilder) AddRange Uses

func (fb *DateTimeFacetBuilder) AddRange(name string, start, end time.Time)

func (*DateTimeFacetBuilder) EndDoc Uses

func (fb *DateTimeFacetBuilder) EndDoc()

func (*DateTimeFacetBuilder) Field Uses

func (fb *DateTimeFacetBuilder) Field() string

func (*DateTimeFacetBuilder) Result Uses

func (fb *DateTimeFacetBuilder) Result() *search.FacetResult

func (*DateTimeFacetBuilder) Size Uses

func (fb *DateTimeFacetBuilder) Size() int

func (*DateTimeFacetBuilder) StartDoc Uses

func (fb *DateTimeFacetBuilder) StartDoc()

func (*DateTimeFacetBuilder) UpdateVisitor Uses

func (fb *DateTimeFacetBuilder) UpdateVisitor(field string, term []byte)

type NumericFacetBuilder Uses

type NumericFacetBuilder struct {
    // contains filtered or unexported fields
}

func NewNumericFacetBuilder Uses

func NewNumericFacetBuilder(field string, size int) *NumericFacetBuilder

func (*NumericFacetBuilder) AddRange Uses

func (fb *NumericFacetBuilder) AddRange(name string, min, max *float64)

func (*NumericFacetBuilder) EndDoc Uses

func (fb *NumericFacetBuilder) EndDoc()

func (*NumericFacetBuilder) Field Uses

func (fb *NumericFacetBuilder) Field() string

func (*NumericFacetBuilder) Result Uses

func (fb *NumericFacetBuilder) Result() *search.FacetResult

func (*NumericFacetBuilder) Size Uses

func (fb *NumericFacetBuilder) Size() int

func (*NumericFacetBuilder) StartDoc Uses

func (fb *NumericFacetBuilder) StartDoc()

func (*NumericFacetBuilder) UpdateVisitor Uses

func (fb *NumericFacetBuilder) UpdateVisitor(field string, term []byte)

type TermsFacetBuilder Uses

type TermsFacetBuilder struct {
    // contains filtered or unexported fields
}

func NewTermsFacetBuilder Uses

func NewTermsFacetBuilder(field string, size int) *TermsFacetBuilder

func (*TermsFacetBuilder) EndDoc Uses

func (fb *TermsFacetBuilder) EndDoc()

func (*TermsFacetBuilder) Field Uses

func (fb *TermsFacetBuilder) Field() string

func (*TermsFacetBuilder) Result Uses

func (fb *TermsFacetBuilder) Result() *search.FacetResult

func (*TermsFacetBuilder) Size Uses

func (fb *TermsFacetBuilder) Size() int

func (*TermsFacetBuilder) StartDoc Uses

func (fb *TermsFacetBuilder) StartDoc()

func (*TermsFacetBuilder) UpdateVisitor Uses

func (fb *TermsFacetBuilder) UpdateVisitor(field string, term []byte)

Package facet imports 6 packages (graph) and is imported by 12 packages. Updated 2018-03-07. Refresh now. Tools for package owners.