Class: AbstractSearchParser<SearchCategory, SFT>

searchParser.AbstractSearchParser

Type parameters #

Name Type
SearchCategory extends string = string
SFT extends string = string

Hierarchy #

Implements #

Constructors #

constructor #

new AbstractSearchParser<SearchCategory, SFT>()

Type parameters #

Name Type
SearchCategory extends string = string
SFT extends string = string

Methods #

parseSearchQuery #

▸ Abstract parseSearchQuery(rawSearchQuery): undefined | ParsedSearchQuery<SearchCategory, SFT>

Parses the raw search query text into the search text and possibly search filters and categories

Parameters #

Name Type Description
rawSearchQuery string the raw search query text to parse

Returns #

undefined | ParsedSearchQuery<SearchCategory, SFT>

Implementation of #

ISearchParser.parseSearchQuery

Defined in #

searchParser/AbstractSearchParser.ts:7