 | SphinxClientBuildExcerpts Method (IEnumerableString, String, String, BuildExcerptsOptions) |
Builds excerpts for the given documents using the settings from the given index name and
the given options.
Namespace:
SphinxConnector.NativeApi
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntaxpublic IList<string> BuildExcerpts(
IEnumerable<string> documents,
string indexName,
string highlightWords,
BuildExcerptsOptions options
)
Public Function BuildExcerpts (
documents As IEnumerable(Of String),
indexName As String,
highlightWords As String,
options As BuildExcerptsOptions
) As IList(Of String)
Parameters
- documents
- Type: System.Collections.GenericIEnumerableString
The documents to build excerpts for. - indexName
- Type: SystemString
The name of the index to use settings from. - highlightWords
- Type: SystemString
The highlightWords to highlight. - options
- Type: SphinxConnector.NativeApiBuildExcerptsOptions
The options to use when building excerpts.
Return Value
Type:
IListStringA list of strings with the excerpts.
Exceptions
See Also