bleve: github.com/blevesearch/bleve/search/highlight/format/html Index | Files

package html

import "github.com/blevesearch/bleve/search/highlight/format/html"

Index

Package Files

html.go

Constants

const Name = "html"

func Constructor Uses

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

type FragmentFormatter Uses

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

func NewFragmentFormatter Uses

func NewFragmentFormatter(before, after string) *FragmentFormatter

func (*FragmentFormatter) Format Uses

func (a *FragmentFormatter) Format(f *highlight.Fragment, orderedTermLocations highlight.TermLocations) string

Package html imports 2 packages (graph) and is imported by 14 packages. Updated 2017-02-12. Refresh now. Tools for package owners.