search

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package search provides an index that allows searching through xkcd comic metadata.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

Close closes the search index.

func Index

func Index(comic *xkcd.Comic) error

Index adds comic to the search index.

func Init

func Init() (err error)

Init initializes the search index.

func Search(userQuery string) (*bleve.SearchResult, error)

Search searches the index for the given userQuery.

Types

This section is empty.

Jump to

Keyboard shortcuts

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