search

package module
v0.0.0-...-6995082 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: GPL-3.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(request IndexRequest) (string, error)

func SearchDictionary

func SearchDictionary(request SearchDictionaryRequest) ([]types.Entry, error)

SearchDictionary searches a dictionary model using Bleve using it's unique dictionary ID

Types

type IndexRequest

type IndexRequest struct {
	Dictionary *types.Dictionary
	Overwrite  bool
	Quiet      bool
}

type SearchDictionaryRequest

type SearchDictionaryRequest struct {
	Dictionary *types.Dictionary
	Query      string
	Exact      bool
}

Jump to

Keyboard shortcuts

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