Class SegmentAndSubsegmentSearchResultsMerged
Represents a set of results returned by the translation memory after a search operation for a given input (segment/translation unit/string).
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public class SegmentAndSubsegmentSearchResultsMerged : SearchResultsMerged, IEnumerable<SearchResult>, IEnumerable
Constructors
SegmentAndSubsegmentSearchResultsMerged()
Initializes a new instance with default values.
Declaration
public SegmentAndSubsegmentSearchResultsMerged()
SegmentAndSubsegmentSearchResultsMerged(SegmentAndSubsegmentSearchResults)
Declaration
public SegmentAndSubsegmentSearchResultsMerged(SegmentAndSubsegmentSearchResults results)
Parameters
Type | Name | Description |
---|---|---|
SegmentAndSubsegmentSearchResults | results |
Properties
SubsegmentSearchResultsCollectionList
Declaration
public List<SubsegmentSearchResultsCollection> SubsegmentSearchResultsCollectionList { get; }
Property Value
Type | Description |
---|---|
ListSubsegmentSearchResultsCollection |
Methods
Merge(SegmentAndSubsegmentSearchResults, bool, int)
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(SegmentAndSubsegmentSearchResults other, bool removeDuplicates, int cascadeEntryIndex)
Parameters
Type | Name | Description |
---|---|---|
SegmentAndSubsegmentSearchResults | other | The search results to merge with the current results. |
bool | removeDuplicates | If true, a heuristics is applied to remove duplicates. The original sort order is preserved, but the multiple translations information is re-evaluated. |
int | cascadeEntryIndex | corresponds to the search results cascade entry index property |