Hybrid Search

result = table.query(
    [[0.9, 0.5]],
    ["pk", "text", "vector", "number"],
    dsl = "number > 200"


This method returns a HippoResult list, and every HippoResult object contains the query result. c

Parameter description:

search_field (str)Field to search onYes
vectors (list[list[float]])Vector list to search onYes
output_fields (list[str])Output field listYes
topk (int)Top k nearest neighbors to returnYes
metric_type (str)Metric type used to measure distanceNo, defaults to "l2"
dsl (str)DSL string used to perform complex SQL queryNo
params (dict)Additional parametersNo
Table 83 Hybrid Search (Python API)