| SearchSettings Class |
Namespace: Sdl.LanguagePlatform.TranslationMemory
The SearchSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| SearchSettings |
Initializes a new instance with default values.
The default values are:
ComputeTranslationProposal = falseIsDocumentSearch=falseMode=SearchMode.NormalSearchMinScore=70MaxResults=10CheckMatchingSublanguages = false |
| Name | Description | |
|---|---|---|
| AutoLocalizationSettings |
Gets or sets the translation settings, which contains information about
auto-localizations and other settings specific to the translation process. The
value is only relevant if ComputeTranslationProposal is true, and
never relevant for concordance searches. NOTE that this object is not created
by default by the constructor of the class.
| |
| CheckMatchingSublanguages |
Gets or sets whether the TM should apply strict language direction validation of
the search segment or TU. The default is false.
| |
| ComputeTranslationProposal |
If true, compute a translation proposal with the match TU and include it in the result.
If false, no proposal will be computed or included in the result.
| |
| CurrentStructureContext |
Gets or sets the current structure context which is used for the search. May be null.
| |
| Filters |
Gets or sets the filters.
| |
| HardFilter |
Gets or sets the hard filter. The hard filter is not evaluated on the storage level yet.
| |
| IsConcordanceSearch |
Gets a value indicating whether this instance is used for a concordance search.
| |
| IsDocumentSearch |
Gets or sets whether contextual information should be used during the search.
| |
| MachineTranslationLookup |
Specifies when to use machine translation.
| |
| MaxResults |
Gets or sets the maximum number of results to be retrieved by the search.
The minimum accepted value for MaxResults is 1. | |
| MinScore |
Gets or sets the minimum score for retrieving the results.
Any candidates with a score lower than MinScore are not returned by the search. The minimum accepted value for MinScore is MINSCORE_LOWERBOUND. | |
| Mode |
Gets or sets the search mode.
| |
| Penalties |
Gets or sets the penalties.
| |
| SortSpecification |
Gets or sets the sort specification.
|
| Name | Description | |
|---|---|---|
| AddFilter |
Adds the supplied filter to the list of filters.
| |
| AddPenalty |
Adds the specified penalty to the list of penalties, unless already present (in which
case nothing happens).
| |
| 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.) | |
| FindFilter |
Attempts to find the filter with the specified name.
| |
| FindPenalty |
Retrieves a penalty of a specified type.
| |
| 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.) | |
| RemoveFilter |
Attempts to remove the filter with the specified name.
| |
| RemovePenalty |
Removes the specified penalty from the list of penalties, if present (otherwise nothing happens).
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| MINSCORE_LOWERBOUND |
The lower bound of the minimum match score supported by translation memories.
|