Scalar Search

result = table.query_scalar(
    ["pk", "text", "vector", "number"],
    expr = "number > 200"


This method returns a Dictionary where the key is field name and the associated value is field-value list. If the error pops up when querying, “HippoConn.handle_json_resp” will raise related exception.

Parameter description:

output_fields (list[str])Output field listYes
expr (str)Expression used in queryYes
Table 84 Scalar Search (Python API)