facets

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2016 License: Apache-2.0 Imports: 5 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) Result

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

func (*DateTimeFacetBuilder) Update

func (fb *DateTimeFacetBuilder) Update(ft index.FieldTerms)

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) Result

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

func (*NumericFacetBuilder) Update

func (fb *NumericFacetBuilder) Update(ft index.FieldTerms)

type TermsFacetBuilder

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

func NewTermsFacetBuilder

func NewTermsFacetBuilder(field string, size int) *TermsFacetBuilder

func (*TermsFacetBuilder) Result

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

func (*TermsFacetBuilder) Update

func (fb *TermsFacetBuilder) Update(ft index.FieldTerms)

Jump to

Keyboard shortcuts

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