Builds a list of keywords from the given query, using the settings from the specified index.
Namespace: Gronewold.SphinxConnectorAssembly: Gronewold.SphinxConnector (in Gronewold.SphinxConnector.dll) Version: 2.8.0.26312 (2.8.0.26312)
Syntax
| C# |
|---|
public IList<SphinxBuildKeywordResult> BuildKeywords( string query, string index, bool includeStatistics ) |
| Visual Basic |
|---|
Public Function BuildKeywords ( _ query As String, _ index As String, _ includeStatistics As Boolean _ ) As IList(Of SphinxBuildKeywordResult) |
Parameters
- query
- Type: System..::..String
The query.
- index
- Type: System..::..String
The index to use settings from.
- includeStatistics
- Type: System..::..Boolean
if set to true includes statistics in the result.
Return Value
A list of SphinxBuildKeywordResult instances.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | query or index is null. |
| System..::..ArgumentException | query or index is empty. |
| Gronewold.SphinxConnector..::..SphinxClientException | An error occured while executing the request. See exception message and inner exception for details. |