Hello @Seongsu Kim
Sorry to hear you're facing this issue.
The 405 error you're encountering typically indicates that the HTTP method you are using (in this case, POST) is not allowed on the resource you are trying to access. It's not directly related to the vector index quota being 0 bytes.
For Azure Cognitive Search, you don't explicitly set a quota for the vector index. Instead, you specify the size of the vectors in the index definition. Each vector field has a specified dimension, and the total size of the vector index is determined by the sum of the vector dimensions for all vector fields in the index.
Here are a few things you might want to check:
- Index Definition: Make sure that your index definition includes the vector field with the correct dimension. For example:
{
"name": "your-index-name",
"fields": [
{ "name": "EleengId", "type": "Edm.String", "key": true, "searchable": false },
{ "name": "EleengText", "type": "Edm.String", "searchable": true },
{ "name": "EleengTextVector", "type": "Collection(Edm.Double)", "facetable": false, "filterable": false, "sortable": false }
]
}
- Dimension of Vector: Ensure that the dimension of the vector field matches the length of your vectors. In your case, it seems to be a vector of floating-point numbers.
- API Version: Double-check that you are using the correct API version. The link you provided uses "2023-10-01-preview."
- Authentication: Ensure that you have the necessary authentication to perform these operations.