callSnippets() public method
Builds a SQL statement for call snippet from provided data and query, using specified index settings.
public string callSnippets ( $index, $source, $match, $options, &$params ) | ||
---|---|---|
$index | string |
Name of the index, from which to take the text processing settings. |
$source | string|array |
Is the source data to extract a snippet from. It could be either a single string or array of strings. |
$match | string |
The full-text query to build snippets for. |
$options | array |
List of options in format: optionName => optionValue |
$params | array |
The binding parameters that will be modified by this method so that they can be bound to the Sphinx command later. |
return | string |
The SQL statement for call snippets. |
Please login to continue.