search

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: OSL-3.0 Imports: 5 Imported by: 4

README

Search Module

Defines a common search domain and provides controllers to render search result and autosuggest.

The module also offers a pagination util, that can be used to pass pagination data to the interfaces.

Domain Layer

  • A Search can return Results of different types. So a Document in a search result may be a "Product" or anything else
    • SearchService->Search(Filter) returns Map of Results (by type)
    • Document
Secondary Ports
  • The SearchService needs to be implemented
  • Please note that a Document is defined as an interface and can be "anything". This way the search can be used very generic and can return documents of any type (e.g. products, categories, content, brands etc).

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct{}

Module registers our search package

func (*Module) Configure

func (m *Module) Configure(injector *dingo.Injector)

Configure the search URL

func (*Module) CueConfig added in v3.3.0

func (*Module) CueConfig() string

CueConfig defines the prefixrouter configuration

func (*Module) FlamingoLegacyConfigAlias added in v3.3.0

func (*Module) FlamingoLegacyConfigAlias() map[string]string

FlamingoLegacyConfigAlias mapping

Directories

Path Synopsis
Package application in the search module provides a more explicit access to the domain searchservice, and combines the result with Paginations etc.
Package application in the search module provides a more explicit access to the domain searchservice, and combines the result with Paginations etc.
graphql
Package graphql generated by go-bindata.// sources: schema.graphql
Package graphql generated by go-bindata.// sources: schema.graphql

Jump to

Keyboard shortcuts

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