Open maheshrajamani opened 1 week ago
listIndexes command will be a table level command that will return indexes for a table.
listIndexes
By default return only the index names. Request:
{ "listIndexes": {} }
Response:
{ "status": { "indexes": [ "name_idx", "content_idx" ] } }
If explain option is set to true return full index definition. Request:
explain
{ "listIndexes": { "options" : { "explain" : true } } }
{ "status": { "indexes": [ { "name": "name_idx", "definition": { "column": "name", "options": { "normalize": true, "ascii": true } } }, { "name": "content_idx", "definition": { "column": "content", "options": { "metric": "cosine", "sourceModel": "openai_v3_small" } } } ] } }
Picking this up again
listIndexes
command will be a table level command that will return indexes for a table.By default return only the index names. Request:
Response:
If
explain
option is set to true return full index definition. Request:Response: