Using the Trados Studio 2015 SR2 API, searching for segments does not always return a result, although the translated segment result is already in Trados and can be seen in the GUI.
If the segment is updated (has a newer date), it will be found again over the API call.
How can I influence the API call to return the segment regardless of age?
SearchSettings settings = new SearchSettings();
settings.MaxResults = 1;
settings.MinScore = 100;
settings.Mode = SearchMode.NormalSearch;
settings.FindPenalty(PenaltyType.FilterPenalty);
SearchResults results = Connector.serverTM.LanguageDirections[languageDirection].SearchText(settings, currentTextToBeTranslated);