Skip to content

Commit

Permalink
Merge branch 'main' into feat/DI-1832/chunkedbatch-php
Browse files Browse the repository at this point in the history
  • Loading branch information
damcou authored Feb 28, 2024
2 parents c85e578 + 1e072bf commit 8936029
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ public static async Task<ReplaceAllObjectsResponse> ReplaceAllObjectsAsync<T>(th
// Copy settings, synonyms and query rules into the temporary index
var copyResponse = await client.OperationIndexAsync(indexName,
new OperationIndexParams(OperationType.Copy, tmpIndexName)
{ Scope = [ScopeType.Rules, ScopeType.Settings, ScopeType.Synonyms] }, options, cancellationToken)
{ Scope = [ScopeType.Rules, ScopeType.Settings, ScopeType.Synonyms] }, options, cancellationToken)
.ConfigureAwait(false);

await client.WaitForTaskAsync(indexName, copyResponse.TaskID, requestOptions: options, ct: cancellationToken)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ public class ReplaceAllObjectsResponse
/// The response of the copy operation.
/// </summary>
public UpdatedAtResponse CopyOperationResponse { get; set; }

/// <summary>
/// The response of the batch operations.
/// </summary>
public List<BatchResponse> BatchResponses { get; set; }

/// <summary>
/// The response of the move operation.
/// </summary>
Expand Down

0 comments on commit 8936029

Please sign in to comment.