Due to the error, it was not able to create the search index ragindex as well as the indexer ragindex-indexer-chunks under cognitive search. Using API version 2023-11-01:
vectorSearchConfiguration became obsolete after API version 2023-07-01-Preview. later version was recommending migrate to vectorSearchProfile instead. Changing to vectorSearchProfile fixed the error.
ERROR - Error when calling search API put indexes ragindex. Message: The request is invalid. Details: The property 'vectorSearchConfiguration' does not exist on type 'Microsoft.Azure.Search.V2023_11_01.SchemaField'. Make sure to only use property names that are defined by the type.
Same with algorithmConfigurations, after changed to algorithms, it fixed the error.
ERROR - Error when calling search API put indexes ragindex. Message: The request is invalid. Details: Cannot find nested property 'algorithmConfigurations' on the resource type 'Microsoft.Azure.Search.V2023_11_01.VectorSearch'.
Also the profile is defined a bit different for the vectorProfile. Adding a profiles section under vectorSearch fixed it.
ERROR - Error when calling search API put indexes ragindex. Message: The request is invalid. Details: definition : The field 'contentVector' uses a vector search algorithm configuration '' which is not defined.
Due to the error, it was not able to create the search index
ragindex
as well as the indexerragindex-indexer-chunks
under cognitive search. Using API version 2023-11-01:vectorSearchConfiguration
became obsolete after API version 2023-07-01-Preview. later version was recommending migrate tovectorSearchProfile
instead. Changing tovectorSearchProfile
fixed the error.Same with
algorithmConfigurations
, after changed toalgorithms
, it fixed the error.Also the profile is defined a bit different for the vectorProfile. Adding a
profiles
section under vectorSearch fixed it.