Skip to content

SearchResultHitBuilder🔗

SearchResultHit is a single match: its identity, an optional relevance🔗

score (present only when the query included free text), and the requested

fields.

Constructor🔗

new SearchResultHitBuilder()

Methods🔗

build🔗

Builds the object.

build()

fields🔗

fields(fields: cog.Builder<alertingv0alpha1.RuleSearchHitFields>)

resource🔗

resource(resource: cog.Builder<alertingv0alpha1.SearchResultResource>)

score🔗

score(score: number)

See also🔗