Function Fast_custom_index->max_ngram_size
Definitions
sources/database_search.php
- Find the maximum ngram size for us to index.
- Visibility: public
- Is abstract?: No
- Is static?: Yes
- Is final?: No
- Returns: int
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$lang | LANGUAGE_NAME | No | No | required parameter | N/A | N/A | Language codename |
Returns
- Maximum ngram size
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find the maximum ngram size for us to index.
*
* @param LANGUAGE_NAME $lang Language codename
* @return integer Maximum ngram size
*/
public static function max_ngram_size(string $lang) : int
* Find the maximum ngram size for us to index.
*
* @param LANGUAGE_NAME $lang Language codename
* @return integer Maximum ngram size
*/
public static function max_ngram_size(string $lang) : int