Index Info
To fetch the information about your index you can use thegetInfo()
method as shown below.
Upstash\Vector\IndexInfo
.
We can use index info as follows:
Namespace Info
Namespaces also contain vectors, which may be pending indexing. As shown above, you can fetch information about the namespaces when making agetInfo()
call on the index.
Additionally, you can use the getNamespaceInfo()
method:
getNamespaceInfo()
call will return an instance of Upstash\Vector\NamespaceInfo
.
We can use namespace info as follows: