blevedemo

package module
v0.0.0-...-380dd8e Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2017 License: Unlicense Imports: 19 Imported by: 0

README

blevedemo

Full-text search demo using bleve in Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(filePath string) error

func Init

func Init() error

initialise

func Search(rw http.ResponseWriter, req *http.Request)

Types

type Page

type Page struct {
	Title   string `json:"title"`
	Content string `json:"content"`
	Tags    string `json:"tags"`
}

func (Page) Type

func (p Page) Type() string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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