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
    bool

    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
    bool?

    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
    int

    Methods

    SelectiveReindexTranslationUnits(CancellationToken, IProgress<int>)

    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
    CancellationToken token
    IProgress<int> progress
    In this article
    • Properties
      • CanReportReindexRequired
      • ReindexRequired
      • TuCountForReindex
    • Methods
      • SelectiveReindexTranslationUnits(CancellationToken, IProgress<int>)
    Back to top Generated by DocFX