MediaWiki:Cirrussearch-didyoumean-settings/en


 * 1) This message lets you configure the settings of the "Did you mean" suggestions.
 * 2) See also https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html
 * 3) Changes to this take effect immediately.
 * 4) The syntax is as follows:
 * 5)   * Everything from a "#" character to the end of the line is a comment.
 * 6)   * Every non-blank line is the setting name followed by a ":" character followed by the setting value
 * 7) The settings are :
 * 8)   * max_errors (integer): the maximum number of terms that will be considered misspelled in order to be corrected. 1 or 2.
 * 9)   * confidence (float): The confidence level defines a factor applied to the input phrases score which is used as a threshold for other suggestion candidates. Only candidates that score higher than the threshold will be included in the result. For instance a confidence level of 1.0 will only return suggestions that score higher than the input phrase. If set to 0.0 the best candidate are returned.
 * 10)   * min_doc_freq (float 0 to 1): The minimal threshold in number of documents a suggestion should appear in.
 * 11)                   High frequency terms are generally "stop words".
 * 12)   * max_term_freq (float 0 to 1): The maximum threshold in number of documents in which a term can exist in order to be included.
 * 13)   * prefix_length (integer): The minimal number of prefix characters that must match a term in order to be a suggestion.
 * 14)   * suggest_mode (missing, popular, always): The suggest mode controls the way suggestions are included.
 * 15) Examples of good lines:
 * 16) max_errors:2
 * 17) confidence:2.0
 * 18) max_term_freq:0.5
 * 19) min_doc_freq:0.01
 * 20) prefix_length:2
 * 21) suggest_mode:always
 * 1) suggest_mode:always