Search Results for

    Show / Hide Table of Contents

    Class SearchResultsMerged

    Represents a set of results returned by multiple translation memories after a search operation for a given input (segment/translation unit/string).

    Inheritance
    System.Object
    SearchResults
    SearchResultsMerged
    SegmentAndSubsegmentSearchResultsMerged
    Implements
    System.Collections.Generic.IEnumerable<SearchResult>
    System.Collections.IEnumerable
    Inherited Members
    SearchResults.DefaultSortOrder
    SearchResults.DefaultSortOrderConcordance
    SearchResults.CopyFrom(SearchResults)
    SearchResults.Sort(SortSpecification)
    SearchResults.Sort(SortSpecification, SearchResults.SearchResultComparer)
    SearchResults.Sort(String)
    SearchResults.Sort()
    SearchResults.Merge(SearchResults, Boolean)
    SearchResults.Cap(Int32)
    SearchResults.CheckForMultipleTranslations(SearchSettings)
    SearchResults.CheckForMultipleTranslations(SearchSettings, List<SearchResult>)
    SearchResults.Add(SearchResult)
    SearchResults.RemoveDuplicates()
    SearchResults.RemoveAll(Func<SearchResult, Boolean>)
    SearchResults.RemoveDuplicates(Func<SearchResult, SearchResult, SearchResult>)
    SearchResults.AreEqual(SearchResult, SearchResult)
    SearchResults.Clear()
    SearchResults.IEnumerable.GetEnumerator()
    SearchResults.IEnumerable<SearchResult>.GetEnumerator()
    SearchResults.Results
    SearchResults.SortOrder
    SearchResults.MultipleTranslations
    SearchResults.SourceWordCounts
    SearchResults.DocumentPlaceables
    SearchResults.SourceSegment
    SearchResults.Count
    SearchResults.SourceHash
    SearchResults.Item[Int32]
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemory
    Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
    Syntax
    public class SearchResultsMerged : SearchResults, IEnumerable<SearchResult>, IEnumerable

    Constructors

    SearchResultsMerged()

    Initializes a new instance with default values.

    Declaration
    public SearchResultsMerged()

    SearchResultsMerged(SearchResults)

    Initializes a new instance with values from specified SearchResults.

    Declaration
    public SearchResultsMerged(SearchResults searchResults)
    Parameters
    Type Name Description
    SearchResults searchResults

    Properties

    DocumentDetails

    Declaration
    public Dictionary<int, DocumentDetail> DocumentDetails { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.Int32, DocumentDetail>

    Methods

    CopyFromSearchResults(SearchResults)

    Declaration
    public void CopyFromSearchResults(SearchResults other)
    Parameters
    Type Name Description
    SearchResults other

    Merge(SearchResults, Boolean, Int32)

    Appends addtional search results to the current list of search results. Note that other fields, such as the source tokens or the source word count, are not merged (although they may differ for cross-TM searches).

    Declaration
    public void Merge(SearchResults other, bool removeDuplicates, int cascadeEntryIndex)
    Parameters
    Type Name Description
    SearchResults other

    The search results to merge with the current results.

    System.Boolean removeDuplicates

    If true, a heuristics is applied to remove duplicates. The original sort order is preserved, but the multiple translations information is re-evaluated.

    System.Int32 cascadeEntryIndex

    corresponds to the search results cascade entry index property

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    On this page

    • Constructors
      • SearchResultsMerged()
      • SearchResultsMerged(SearchResults)
    • Properties
      • DocumentDetails
    • Methods
      • CopyFromSearchResults(SearchResults)
      • Merge(SearchResults, Boolean, Int32)
    • Implements
    Back to top Generated by DocFX