@terascope/data-mate / document-matcher / DocumentMatcher
Class: DocumentMatcher
Constructors
new DocumentMatcher()
new DocumentMatcher(
query
,options
):DocumentMatcher
Parameters
Parameter | Type |
---|---|
query | string |
options | DocumentMatcherOptions |
Returns
Source
data-mate/src/document-matcher/index.ts:8
Methods
match()
match(
doc
):boolean
Parameters
Parameter | Type |
---|---|
doc | Record <string , any > |
Returns
boolean