def METHOD_NAME(rester):
    search_method = rester.search
    if search_method is not None:
        doc = search_method(keywords=["silicon"])[0]
        assert isinstance(doc.search_score, float)
        highlighted = sum((x["texts"] for x in doc.highlights), [])
        assert "silicon" in " ".join([x["value"] for x in highlighted]).lower()