search

package
v0.0.0-...-9c67b44 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const MaxSearchResults = 500 // avoid clients requesting too many results

Variables

This section is empty.

Functions

This section is empty.

Types

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

func NewSearch

func NewSearch(elasticUrl *url.URL) (*Search, error)

func (*Search) FindPublicationsByNaturalId

func (s *Search) FindPublicationsByNaturalId(completeQuery string, w http.ResponseWriter, r *http.Request)

func (*Search) SetupRouter

func (s *Search) SetupRouter() *chi.Mux

Jump to

Keyboard shortcuts

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