Skip to content

Commit ac3a724

Browse files
authored
[Search] Moving 2025-03-01-preview changes to main (#48722)
* [Search] 2025-03-01-preview: regenerated from the latest swagger (#48439) * [Search] Exposing GetIndexStatsSummary (#48634)
1 parent e292362 commit ac3a724

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+587
-130
lines changed

sdk/search/Azure.Search.Documents/api/Azure.Search.Documents.net8.0.cs

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public SearchClient(System.Uri endpoint, string indexName, Azure.Core.TokenCrede
7979
}
8080
public partial class SearchClientOptions : Azure.Core.ClientOptions
8181
{
82-
public SearchClientOptions(Azure.Search.Documents.SearchClientOptions.ServiceVersion version = Azure.Search.Documents.SearchClientOptions.ServiceVersion.V2024_11_01_Preview) { }
82+
public SearchClientOptions(Azure.Search.Documents.SearchClientOptions.ServiceVersion version = Azure.Search.Documents.SearchClientOptions.ServiceVersion.V2025_03_01_Preview) { }
8383
public Azure.Search.Documents.SearchAudience? Audience { get { throw null; } set { } }
8484
public Azure.Core.Serialization.ObjectSerializer Serializer { get { throw null; } set { } }
8585
public Azure.Search.Documents.SearchClientOptions.ServiceVersion Version { get { throw null; } }
@@ -88,7 +88,7 @@ public enum ServiceVersion
8888
V2020_06_30 = 1,
8989
V2023_11_01 = 2,
9090
V2024_07_01 = 3,
91-
V2024_11_01_Preview = 4,
91+
V2025_03_01_Preview = 4,
9292
}
9393
}
9494
public static partial class SearchExtensions
@@ -259,6 +259,8 @@ public SearchIndexClient(System.Uri endpoint, Azure.Core.TokenCredential tokenCr
259259
public virtual Azure.AsyncPageable<string> GetIndexNamesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
260260
public virtual Azure.Response<Azure.Search.Documents.Indexes.Models.SearchIndexStatistics> GetIndexStatistics(string indexName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
261261
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Search.Documents.Indexes.Models.SearchIndexStatistics>> GetIndexStatisticsAsync(string indexName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
262+
public virtual Azure.Response<Azure.Search.Documents.Indexes.Models.ListIndexStatsSummary> GetIndexStatsSummary(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
263+
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Search.Documents.Indexes.Models.ListIndexStatsSummary>> GetIndexStatsSummaryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
262264
public virtual Azure.Search.Documents.SearchClient GetSearchClient(string indexName) { throw null; }
263265
public virtual Azure.Response<Azure.Search.Documents.Indexes.Models.SearchServiceStatistics> GetServiceStatistics(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
264266
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Search.Documents.Indexes.Models.SearchServiceStatistics>> GetServiceStatisticsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
@@ -400,7 +402,7 @@ namespace Azure.Search.Documents.Indexes.Models
400402
}
401403
public partial class AIServicesAccountIdentity : Azure.Search.Documents.Indexes.Models.CognitiveServicesAccount
402404
{
403-
public AIServicesAccountIdentity(Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity identity, string subdomainUrl) { }
405+
public AIServicesAccountIdentity(string subdomainUrl) { }
404406
public Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity Identity { get { throw null; } set { } }
405407
public string SubdomainUrl { get { throw null; } set { } }
406408
}
@@ -1285,6 +1287,14 @@ public IndexingSchedule(System.TimeSpan interval) { }
12851287
public static bool operator !=(Azure.Search.Documents.Indexes.Models.IndexProjectionMode left, Azure.Search.Documents.Indexes.Models.IndexProjectionMode right) { throw null; }
12861288
public override string ToString() { throw null; }
12871289
}
1290+
public partial class IndexStatisticsSummary
1291+
{
1292+
internal IndexStatisticsSummary() { }
1293+
public long DocumentCount { get { throw null; } }
1294+
public string Name { get { throw null; } }
1295+
public long StorageSize { get { throw null; } }
1296+
public long VectorIndexSize { get { throw null; } }
1297+
}
12881298
public partial class InputFieldMappingEntry
12891299
{
12901300
public InputFieldMappingEntry(string name) { }
@@ -1686,6 +1696,11 @@ public LimitTokenFilter(string name) { }
16861696
public bool? ConsumeAllTokens { get { throw null; } set { } }
16871697
public int? MaxTokenCount { get { throw null; } set { } }
16881698
}
1699+
public partial class ListIndexStatsSummary
1700+
{
1701+
internal ListIndexStatsSummary() { }
1702+
public System.Collections.Generic.IReadOnlyList<Azure.Search.Documents.Indexes.Models.IndexStatisticsSummary> IndexesStatistics { get { throw null; } }
1703+
}
16891704
public partial class LuceneStandardAnalyzer : Azure.Search.Documents.Indexes.Models.LexicalAnalyzer
16901705
{
16911706
public LuceneStandardAnalyzer(string name) { }
@@ -2384,6 +2399,7 @@ public partial class SearchIndexerCache
23842399
{
23852400
public SearchIndexerCache() { }
23862401
public bool? EnableReprocessing { get { throw null; } set { } }
2402+
public string Id { get { throw null; } set { } }
23872403
public Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity Identity { get { throw null; } set { } }
23882404
public void SetStorageConnectionString(string storageConnectionString) { }
23892405
}
@@ -2585,6 +2601,7 @@ public SearchSuggester(string name, params string[] sourceFields) { }
25852601
public partial class SemanticConfiguration
25862602
{
25872603
public SemanticConfiguration(string name, Azure.Search.Documents.Indexes.Models.SemanticPrioritizedFields prioritizedFields) { }
2604+
public bool? FlightingOptIn { get { throw null; } set { } }
25882605
public string Name { get { throw null; } set { } }
25892606
public Azure.Search.Documents.Indexes.Models.SemanticPrioritizedFields PrioritizedFields { get { throw null; } set { } }
25902607
}
@@ -3400,6 +3417,7 @@ internal FacetResult() { }
34003417
public object From { get { throw null; } }
34013418
public object this[string key] { get { throw null; } }
34023419
public System.Collections.Generic.IEnumerable<string> Keys { get { throw null; } }
3420+
public double? Sum { get { throw null; } }
34033421
int System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Count { get { throw null; } }
34043422
public object To { get { throw null; } }
34053423
public object Value { get { throw null; } }
@@ -3834,9 +3852,9 @@ public static partial class SearchModelFactory
38343852
public static Azure.Search.Documents.Indexes.Models.DataDeletionDetectionPolicy DataDeletionDetectionPolicy(string oDataType) { throw null; }
38353853
public static Azure.Search.Documents.Models.DebugInfo DebugInfo(Azure.Search.Documents.Models.QueryRewritesDebugInfo queryRewrites = null) { throw null; }
38363854
public static Azure.Search.Documents.Models.DocumentDebugInfo DocumentDebugInfo(Azure.Search.Documents.Models.SemanticDebugInfo semantic = null, Azure.Search.Documents.Models.VectorsDebugInfo vectors = null) { throw null; }
3837-
public static Azure.Search.Documents.Models.FacetResult FacetResult(long? count = default(long?), System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IList<Azure.Search.Documents.Models.FacetResult>> facets = null, System.Collections.Generic.IReadOnlyDictionary<string, object> additionalProperties = null) { throw null; }
38383855
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
38393856
public static Azure.Search.Documents.Models.FacetResult FacetResult(long? count = default(long?), System.Collections.Generic.IReadOnlyDictionary<string, object> additionalProperties = null) { throw null; }
3857+
public static Azure.Search.Documents.Models.FacetResult FacetResult(long? count = default(long?), double? sum = default(double?), System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IList<Azure.Search.Documents.Models.FacetResult>> facets = null, System.Collections.Generic.IReadOnlyDictionary<string, object> additionalProperties = null) { throw null; }
38403858
public static Azure.Search.Documents.Models.IndexDocumentsResult IndexDocumentsResult(System.Collections.Generic.IEnumerable<Azure.Search.Documents.Models.IndexingResult> results) { throw null; }
38413859
public static Azure.Search.Documents.Indexes.Models.IndexerChangeTrackingState IndexerChangeTrackingState(string allDocumentsInitialState, string allDocumentsFinalState, string resetDocumentsInitialState, string resetDocumentsFinalState) { throw null; }
38423860
public static Azure.Search.Documents.Indexes.Models.IndexerExecutionResult IndexerExecutionResult(Azure.Search.Documents.Indexes.Models.IndexerExecutionStatus status = Azure.Search.Documents.Indexes.Models.IndexerExecutionStatus.TransientFailure, Azure.Search.Documents.Indexes.Models.IndexerExecutionStatusDetail? statusDetail = default(Azure.Search.Documents.Indexes.Models.IndexerExecutionStatusDetail?), Azure.Search.Documents.Indexes.Models.IndexerState currentState = null, string errorMessage = null, System.DateTimeOffset? startTime = default(System.DateTimeOffset?), System.DateTimeOffset? endTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.SearchIndexerError> errors = null, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.SearchIndexerWarning> warnings = null, int itemCount = 0, int failedItemCount = 0, string initialTrackingState = null, string finalTrackingState = null) { throw null; }
@@ -3846,8 +3864,10 @@ public static partial class SearchModelFactory
38463864
public static Azure.Search.Documents.Indexes.Models.IndexerExecutionResult IndexerExecutionResult(Azure.Search.Documents.Indexes.Models.IndexerExecutionStatus status, string errorMessage, System.DateTimeOffset? startTime, System.DateTimeOffset? endTime, System.Collections.Generic.IReadOnlyList<Azure.Search.Documents.Indexes.Models.SearchIndexerError> errors, System.Collections.Generic.IReadOnlyList<Azure.Search.Documents.Indexes.Models.SearchIndexerWarning> warnings, int itemCount, int failedItemCount, string initialTrackingState, string finalTrackingState) { throw null; }
38473865
public static Azure.Search.Documents.Indexes.Models.IndexerState IndexerState(Azure.Search.Documents.Indexes.Models.IndexingMode? mode = default(Azure.Search.Documents.Indexes.Models.IndexingMode?), string allDocumentsInitialChangeTrackingState = null, string allDocumentsFinalChangeTrackingState = null, string resetDocumentsInitialChangeTrackingState = null, string resetDocumentsFinalChangeTrackingState = null, System.Collections.Generic.IEnumerable<string> resetDocumentKeys = null, System.Collections.Generic.IEnumerable<string> resetDataSourceDocumentIds = null) { throw null; }
38483866
public static Azure.Search.Documents.Models.IndexingResult IndexingResult(string key, string errorMessage, bool succeeded, int status) { throw null; }
3867+
public static Azure.Search.Documents.Indexes.Models.IndexStatisticsSummary IndexStatisticsSummary(string name = null, long documentCount = (long)0, long storageSize = (long)0, long vectorIndexSize = (long)0) { throw null; }
38493868
public static Azure.Search.Documents.Indexes.Models.LexicalAnalyzer LexicalAnalyzer(string oDataType, string name) { throw null; }
38503869
public static Azure.Search.Documents.Indexes.Models.LexicalTokenizer LexicalTokenizer(string oDataType, string name) { throw null; }
3870+
public static Azure.Search.Documents.Indexes.Models.ListIndexStatsSummary ListIndexStatsSummary(System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.IndexStatisticsSummary> indexesStatistics = null) { throw null; }
38513871
public static Azure.Search.Documents.Models.QueryAnswerResult QueryAnswerResult(double? score = default(double?), string key = null, string text = null, string highlights = null, System.Collections.Generic.IReadOnlyDictionary<string, object> additionalProperties = null) { throw null; }
38523872
public static Azure.Search.Documents.Models.QueryCaptionResult QueryCaptionResult(string text = null, string highlights = null, System.Collections.Generic.IReadOnlyDictionary<string, object> additionalProperties = null) { throw null; }
38533873
public static Azure.Search.Documents.Models.QueryResultDocumentRerankerInput QueryResultDocumentRerankerInput(string title = null, string content = null, string keywords = null) { throw null; }

0 commit comments

Comments
 (0)