Refactor SearchServiceClient into SearchIndexClient and SearchIndexerClient #11507
Labels
blocking-release
Blocks release
Client
This issue points to a problem in the data-plane of the library.
Search
Milestone
To avoid too many methods in
SearchServiceClient
, we will refactor it into two separate clients that group the functionality into index management, and skillsets (enrichments) management. Method names will retain their names they have today, likeCreateIndex
,DeleteIndex
,CreateDataSource
,DeleteDataSource
, etc. This also means there should be theGetServiceStatistics
like we should have no, instead of dropping "Service". This differentiates it withGetIndexStatistics
.SearchIndexClient
will aggregate:CreateIndex
, etc.CreateSynonymMap
, etc.GetServiceStatistics
GetSearchClient
that takes a stringindexName
and returns aSearchClient
SearchIndexerClient
will aggregate:CreateIndexer
, etc.CreateDataSource
, etc.CreateSkillset
, etc.The text was updated successfully, but these errors were encountered: