bleve: github.com/blevesearch/bleve/search/highlight/fragmenter/simple Index | Files

package simple

import "github.com/blevesearch/bleve/search/highlight/fragmenter/simple"

Index

Package Files

simple.go

Constants

const Name = "simple"

func Constructor Uses

func Constructor(config map[string]interface{}, cache *registry.Cache) (highlight.Fragmenter, error)

type Fragmenter Uses

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

func NewFragmenter Uses

func NewFragmenter(fragmentSize int) *Fragmenter

func (*Fragmenter) Fragment Uses

func (s *Fragmenter) Fragment(orig []byte, ot highlight.TermLocations) []*highlight.Fragment

Package simple imports 3 packages (graph) and is imported by 15 packages. Updated 2016-10-19. Refresh now. Tools for package owners.