SearchModelFactory.SoftDeleteColumnDeletionDetectionPolicy Method

Definition

Defines a data deletion detection policy that implements a soft-deletion strategy. It determines whether an item should be deleted based on the value of a designated 'soft delete' column.

public static Azure.Search.Documents.Indexes.Models.SoftDeleteColumnDeletionDetectionPolicy SoftDeleteColumnDeletionDetectionPolicy(string softDeleteColumnName = default, string softDeleteMarkerValue = default);
static member SoftDeleteColumnDeletionDetectionPolicy : string * string -> Azure.Search.Documents.Indexes.Models.SoftDeleteColumnDeletionDetectionPolicy
Public Shared Function SoftDeleteColumnDeletionDetectionPolicy (Optional softDeleteColumnName As String = Nothing, Optional softDeleteMarkerValue As String = Nothing) As SoftDeleteColumnDeletionDetectionPolicy

Parameters

softDeleteColumnName
String

The name of the column to use for soft-deletion detection.

softDeleteMarkerValue
String

The marker value that identifies an item as deleted.

Returns

A new SoftDeleteColumnDeletionDetectionPolicy instance for mocking.

Applies to