Version: 0.0.7 (stable)
agrag.common.data_models.index_record.SearchCall
SearchCall(text:str, params:dict[str, Any] = dict()) -> None
A Cypher fragment that searches one index, plus the parameters it needs.
The fragment starts with CALL and ends after YIELD node, score. It
expects $k (candidates to read) and either $fulltext_terms or
$vector. score is higher for a closer match whatever the backend's
own scale is.
Attributes:
- text (
str) – The Cypher fragment. - params (
dict[str, Any]) – Parameters the fragment needs beyond the caller's own.
params
params: dict[str, Any] = field(default_factory=dict)
text
text: str