Function Fast_custom_index->load_commonalities
Definitions
sources/database_search.php
- Load up the commonalities for some ngrams, with caching.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$db | object | required parameter | N/A | N/A | Database connection |
$ngrams | array | required parameter | N/A | N/A | List of ngrams |
Return
- Map between ngram and commonality
- Type: array
- Set: N/A
- Range: N/A