Function LangTokeniser_EN->query_to_search_tokens
Definitions
sources/lang_tokeniser_EN.php
- Turn a search query into a set of tokens to search against.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$query | string | required parameter | N/A | N/A | Search query |
$support_boolean | boolean | True | N/A | N/A | Whether to support boolean syntax |
$max_tokens | integer | 30 | N/A | N/A | The maximum number of tokens to parse |
Return
- A complex structure of search tokens
- Type: array
- Set: N/A
- Range: N/A