Search Results for

    Show / Hide Table of Contents

    Interface IReindexableTranslationMemory

    Represents an upgraded file-based TM

    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public interface IReindexableTranslationMemory

    Properties

    CanReportReindexRequired

    Returns true for file-based TMs capable of reporting whether TUs require reindexing, or false for legacy TMs that do not support this capability.

    Declaration
    bool CanReportReindexRequired { get; set; }
    Property Value
    Type Description
    System.Boolean

    ReindexRequired

    Returns true if any TUs require reindexing, based on the value of their tokenization_signature_hash column, false otherwise, or null if the TM is a legacy file-based TM that does not have this column.

    Declaration
    bool? ReindexRequired { get; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    TuCountForReindex

    Returns the number of TUs that require reindexing, based on the value of their tokenization_signature_hash column, or -1 if the TM is a legacy file-based TM that does not have this column.

    Declaration
    int TuCountForReindex { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    SelectiveReindexTranslationUnits(CancellationToken, IProgress<Int32>)

    Provides similar functionality to ReindexTranslationUnits, except that only TUs that require reindexing are reindexed, based on the value of their tokenization_signature_hash column, or no TUs if the TM is a legacy file-based TM that does not have this column.

    Declaration
    void SelectiveReindexTranslationUnits(CancellationToken token, IProgress<int> progress)
    Parameters
    Type Name Description
    System.Threading.CancellationToken token
    System.IProgress<System.Int32> progress

    On this page

    • Properties
      • CanReportReindexRequired
      • ReindexRequired
      • TuCountForReindex
    • Methods
      • SelectiveReindexTranslationUnits(CancellationToken, IProgress<Int32>)
    Back to top Generated by DocFX