Documentation ¶
Index ¶
- type DateTimeFacetBuilder
- func (fb *DateTimeFacetBuilder) AddRange(name string, start, end time.Time)
- func (fb *DateTimeFacetBuilder) EndDoc()
- func (fb *DateTimeFacetBuilder) Field() string
- func (fb *DateTimeFacetBuilder) Result() *search.FacetResult
- func (fb *DateTimeFacetBuilder) Size() int
- func (fb *DateTimeFacetBuilder) StartDoc()
- func (fb *DateTimeFacetBuilder) UpdateVisitor(field string, term []byte)
- type NumericFacetBuilder
- func (fb *NumericFacetBuilder) AddRange(name string, min, max *float64)
- func (fb *NumericFacetBuilder) EndDoc()
- func (fb *NumericFacetBuilder) Field() string
- func (fb *NumericFacetBuilder) Result() *search.FacetResult
- func (fb *NumericFacetBuilder) Size() int
- func (fb *NumericFacetBuilder) StartDoc()
- func (fb *NumericFacetBuilder) UpdateVisitor(field string, term []byte)
- type TermsFacetBuilder
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) Size ¶ added in v0.8.0
func (fb *DateTimeFacetBuilder) Size() int
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) Size ¶ added in v0.8.0
func (fb *NumericFacetBuilder) Size() int
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) Size ¶ added in v0.8.0
func (fb *TermsFacetBuilder) Size() int
func (*TermsFacetBuilder) StartDoc ¶
func (fb *TermsFacetBuilder) StartDoc()
func (*TermsFacetBuilder) UpdateVisitor ¶
func (fb *TermsFacetBuilder) UpdateVisitor(field string, term []byte)
Click to show internal directories.
Click to hide internal directories.