Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocumentMatch ¶
type DocumentMatch struct { Document interface{} `json:"document"` Score float64 `json:"score"` Expl *search.Explanation `json:"explanation"` ID string `json:"id"` }
type Index ¶
type MatchAllQuery ¶
type MatchAllQuery struct {
*bluge.MatchAllQuery
}
func NewAll ¶
func NewAll() *MatchAllQuery
type MatchQuery ¶
type MatchQuery struct {
*bluge.MatchQuery
}
func NewMatchQuery ¶
func NewMatchQuery(q string) *MatchQuery
func (*MatchQuery) Build ¶
func (q *MatchQuery) Build() bluge.Query
func (*MatchQuery) SetAnalyzer ¶
func (q *MatchQuery) SetAnalyzer(name string) *MatchQuery
type Metadata ¶
type SearchResponse ¶
type SearchResponse struct { Metadata Metadata `json:"metadata"` Documents []*DocumentMatch `json:"documents"` }
Click to show internal directories.
Click to hide internal directories.