SearchResultHit
SearchResultHit is a single match: its identity, an optional relevance
score (present only when the query included free text), and the requested
fields.
Constructor
Methods
build
Builds the object.
def build() -> alertingv0alpha1.SearchResultHit
fields
def fields(fields: cogbuilder.Builder[alertingv0alpha1.RuleSearchHitFields]) -> typing.Self
resource
def resource(resource: cogbuilder.Builder[alertingv0alpha1.SearchResultResource]) -> typing.Self
score
def score(score: float) -> typing.Self
See also