facet

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateTimeFacetBuilder

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

func NewDateTimeFacetBuilder

func NewDateTimeFacetBuilder(field string, size int) *DateTimeFacetBuilder

func (*DateTimeFacetBuilder) AddRange

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

func (*DateTimeFacetBuilder) EndDoc

func (fb *DateTimeFacetBuilder) EndDoc()

func (*DateTimeFacetBuilder) Field

func (fb *DateTimeFacetBuilder) Field() string

func (*DateTimeFacetBuilder) Result

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

func (*DateTimeFacetBuilder) StartDoc

func (fb *DateTimeFacetBuilder) StartDoc()

func (*DateTimeFacetBuilder) UpdateVisitor

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

type NumericFacetBuilder

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

func NewNumericFacetBuilder

func NewNumericFacetBuilder(field string, size int) *NumericFacetBuilder

func (*NumericFacetBuilder) AddRange

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

func (*NumericFacetBuilder) EndDoc

func (fb *NumericFacetBuilder) EndDoc()

func (*NumericFacetBuilder) Field

func (fb *NumericFacetBuilder) Field() string

func (*NumericFacetBuilder) Result

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

func (*NumericFacetBuilder) StartDoc

func (fb *NumericFacetBuilder) StartDoc()

func (*NumericFacetBuilder) UpdateVisitor

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

type TermsFacetBuilder

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

func NewTermsFacetBuilder

func NewTermsFacetBuilder(field string, size int) *TermsFacetBuilder

func (*TermsFacetBuilder) EndDoc

func (fb *TermsFacetBuilder) EndDoc()

func (*TermsFacetBuilder) Field

func (fb *TermsFacetBuilder) Field() string

func (*TermsFacetBuilder) Result

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

func (*TermsFacetBuilder) StartDoc

func (fb *TermsFacetBuilder) StartDoc()

func (*TermsFacetBuilder) UpdateVisitor

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

Jump to

Keyboard shortcuts

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