Scalar Search

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

Result:

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:

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