Set the suggestion strategy to be used when generating spelling suggestions.
Default: {@link SuggestionStrategy#TYPO}
@param suggestionStrategy
549841
public void setSuggestionStrategy(SuggestionStrategy suggestionStrategy) {
        switch (suggestionStrategy) {
        case OCR:
            setBoolOption(8, true);
            break;
        case TYPO:
            setBoolOption(8, false);
            break;
        }
    }
831054
@Override
	public <T extends Query> T setSpellcheckOptions(SpellcheckOptions spellcheckOptions) {
		return query.setSpellcheckOptions(spellcheckOptions);
	}
284732
public void setVocabularies(java.util.Collection<VocabularyInfo> vocabularies) {
        if (vocabularies == null) {
            this.vocabularies = null;
            return;
        }

        this.vocabularies = new java.util.ArrayList<VocabularyInfo>(vocabularies);
    }
299675
@Bean
	@ConditionalOnMissingBean(CacheStrategy.class)
	@Order(-90)
	<K, V> CacheStrategy<K, V> defaultCacheStrategy() {
		LOGGER.debug("Creating cache strategy 'LruMemoryCacheStrategy'");
		return new LruMemoryCacheStrategy<>();
	}
1205392
public RedGBuilder<T> withDefaultValueStrategy(final DefaultValueStrategy strategy) {
        if (instance == null) {
            throw new IllegalStateException("Using the builder after build() was called is not allowed!");
        }
        instance.setDefaultValueStrategy(strategy);
        return this;
    }
913420
public void setAttempts(java.util.Collection<AttemptDetail> attempts) {
        if (attempts == null) {
            this.attempts = null;
            return;
        }

        this.attempts = new java.util.ArrayList<AttemptDetail>(attempts);
    }
399293
public void setText(Phrase phrase) {
        bidiLine = null;
        composite = false;
        compositeColumn = null;
        compositeElements = null;
        listIdx = 0;
        splittedRow = false;
        waitPhrase = phrase;
    }
1271107
private void adaptHint() {
        if (textInputLayout != null) {
            textInputLayout.setHint(hint);
        } else if (editText != null) {
            editText.setHint(hint);
        }
    }
231102
public static ITargetInjector with(final IInjectionStrategy strategy) {
		return new ITargetInjector() {
			public void bean(Object target) {
				strategy.inject(target);
			}
		};
	}
1175496
public void setCampaignCriterion(com.google.api.ads.adwords.axis.v201809.cm.CampaignCriterion campaignCriterion) {
        this.campaignCriterion = campaignCriterion;
    }
1235399
public void setInputLocalStrategy(int inputNum, LocalStrategy strategy) {
		this.config.setInteger(INPUT_LOCAL_STRATEGY_PREFIX + inputNum, strategy.ordinal());
	}
668160
public void commitStaged(SuggestionStage staging) {
    if (this.deletes == null) {
      this.deletes = new HashMap<>(staging.deletes.size());
    }
    staging.commitTo(deletes);
  }
633804
protected function defineStrategyHandlers() {
		if(!$this->_strategiesDefined) {
			foreach($this->getStrategies() as $strategyClass) {
				$strategyMethod = 'handleStrategy' . $strategyClass;
				$this->addWrapperMethod($strategyMethod, 'handleStrategy');
			}
			$this->_strategiesDefined = true;
		}
	}
1283228
public void setSuggestions(java.util.Collection<SuggestionMatch> suggestions) {
        if (suggestions == null) {
            this.suggestions = null;
            return;
        }

        this.suggestions = new com.amazonaws.internal.SdkInternalList<SuggestionMatch>(suggestions);
    }
802157
func (s *HyperParameterTuningJobSummary) SetStrategy(v string) *HyperParameterTuningJobSummary {
	s.Strategy = &v
	return s
}
595066
function (suggestions) {
        var that = this,
            shouldRestrict = that.shouldRestrictValues(),
            label = that.getFirstConstraintLabel();

        $.each(suggestions, function (i, suggestion) {
            if (!suggestion.unrestricted_value) {
                suggestion.unrestricted_value = shouldRestrict ? label + ', ' + suggestion.value : suggestion.value;
            }
        });
    }
493513
public void setDiscoveryStrategyConfigs(List<DiscoveryStrategyConfig> discoveryStrategyConfigs) {
        this.discoveryStrategyConfigs = discoveryStrategyConfigs == null
                ? new ArrayList<DiscoveryStrategyConfig>(1)
                : discoveryStrategyConfigs;
    }