gofts

package module
v0.0.0-...-6a9b7ca Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: MIT Imports: 4 Imported by: 0

README

go-fts

Golang full-text search engine.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	ID    int
	Title string `xml:"title"`
	URL   string `xml:"url"`
	Text  string `xml:"abstract"`
}

func LoadDocuments

func LoadDocuments(path string) ([]Document, error)
func Search(docs []Document, term string) []Document

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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