Check Vector Index

Users can check detailed information of a vector index. Hippo will return all segment information of index vectors each shard has.

curl -u shiva:shiva -XGET 'localhost:8902/hippo/v1/{table}/_get_embedding_index?database_name={database_name}&pretty'

Result:

{
  "default#book" : {
    "table_id" : "361165c970d1470886c435a86e3eae2f",
    "shards" : [
      {
        "tablet_id" : 0,
        "address" : "172.29.40.26:27851",
        "indexes" : [
          {
            "index_id" : 0,
            "state" : "PUBLIC",
            "flat_segments" : [
              {
                "min_id" : -1,
                "max_id" : -1,
                "embedding_num" : 0,
                "deleted_embedding_num" : 0
              },
              {
                "min_id" : 0,
                "max_id" : 99,
                "embedding_num" : 100,
                "deleted_embedding_num" : 0
              }
            ]
          }
        ]
      }
    ]
  }
}

Parameter description:

ParametersDescriptionRequired
tableTable name, such as "book" created in this example
database_nameDatabase where the table is locatedNo, defaults to "default" database
Table 27 Check Vector Index (Python API)