| SearchResultsMerged Class |
Namespace: Sdl.LanguagePlatform.TranslationMemory
The SearchResultsMerged type exposes the following members.
| Name | Description | |
|---|---|---|
| SearchResultsMerged |
Initializes a new instance with default values.
| |
| SearchResultsMerged(SearchResults) |
Initializes a new instance with values from specified SearchResults.
|
| Name | Description | |
|---|---|---|
| Count |
Gets the number of results in this instance.
(Inherited from SearchResults.) | |
| DocumentDetails | ||
| DocumentPlaceables |
Gets or sets the source segment placeables. The value is usually set by
the search engine.
(Inherited from SearchResults.) | |
| Item |
Gets or sets the search results at the specified index in the collection.
(Inherited from SearchResults.) | |
| MultipleTranslations |
Gets or sets the flag whether there exist multiple exact matches in the result set. Note that there also is a MultipleTranslationsPenalty
in each match result. However, the penalty will only be set if the malus is > 0, but the MultipleTrnaslations flag will
be set independently.
(Inherited from SearchResults.) | |
| Results |
Gets or sets the sesarch results.
(Inherited from SearchResults.) | |
| SortOrder |
Gets or sets the sort order. The search results are not re-sorted if this
field is set. To re-sort, call Sort() after setting the value.
(Inherited from SearchResults.) | |
| SourceHash |
Gets or sets the source segment's hash value.
(Inherited from SearchResults.) | |
| SourceSegment |
Gets or sets the document source segment for this instance. The value
is set by the search engine.
(Inherited from SearchResults.) | |
| SourceWordCounts |
Gets or sets the source word counts for this instance.
(Inherited from SearchResults.) |
| Name | Description | |
|---|---|---|
| Add |
Adds a new search result to the collection.
(Inherited from SearchResults.) | |
| Cap |
Caps the number of search results to at most maxCapacity elements. If the object holds
less than the maximum number, this method has no effect.
(Inherited from SearchResults.) | |
| CheckForMultipleTranslations |
Count the number of exact matches in the result and set the MultipleTranslations flag and penalty accordingly.
This is only valid for normal searches; nothing will be changed for concordance searches.
(Inherited from SearchResults.) | |
| Clear |
Removes all results.
(Inherited from SearchResults.) | |
| CopyFromSearchResults | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Merge(SearchResults, Boolean) |
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).
(Inherited from SearchResults.) | |
| 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).
| |
| RemoveAll |
Removes all the elements that match the condition defined by the specified predicate
(Inherited from SearchResults.) | |
| RemoveDuplicates |
Removes any duplicate search results. The duplicate with the lowest index
is kept, and other duplicates are removed.
(Inherited from SearchResults.) | |
| RemoveDuplicates(FuncSearchResult, SearchResult, SearchResult) |
Removes any duplicate search results.
(Inherited from SearchResults.) | |
| Sort |
Sorts the results in this instance using the currently set sort order (see SortOrder),
or the default sort order if no sort order is set.
(Inherited from SearchResults.) | |
| Sort(String) |
Sorts the results in this instance based on the specified sort order.
(Inherited from SearchResults.) | |
| Sort(SortSpecification) |
Sorts the results in this instance based on the specified sort order.
(Inherited from SearchResults.) | |
| Sort(SortSpecification, SearchResultsSearchResultComparer) |
Sorts the results in this instance based on the specified sort order.
(Inherited from SearchResults.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |