Skip to main content

@terascope/data-mate / document-matcher / DocumentMatcher

Class: DocumentMatcher

Defined in: data-mate/src/document-matcher/index.ts:5

Constructors

new DocumentMatcher()

new DocumentMatcher(query, options): DocumentMatcher

Defined in: data-mate/src/document-matcher/index.ts:8

Parameters

ParameterType
querystring
optionsDocumentMatcherOptions

Returns

DocumentMatcher

Methods

match()

match(doc): boolean

Defined in: data-mate/src/document-matcher/index.ts:22

Parameters

ParameterType
docRecord<string, any>

Returns

boolean