Search

Introduced in 3.0.0

Stability: 2 - Stable

const Search = require('kado/lib/Search')

This library provides engine driven search that can be implemented by modules directly or by other providers.

Class: Search

Search extends Connect see Connect for more engine management and more.

static Search.getInstance()

Search.constructor()

Search.byPhrase(app, phrase, options)

Note: when no name is provided all handlers are executed.

Class: SearchEngine

SearchEngine extends ConnectEngine see ConnectEngine for more engine management and more.

SearchEngine.search()

Must be extended and used to send to underlying search system.