SalienceCollection.GetFacets

<< SalienceCollection.GetEntities | Back to Salience 6 .Net Index | SalienceCollection.GetQueryDefinedTopics >>

Summary

Retrieves the facets extracted across all documents in the collection. These results can be adjusted through the available Collection Options, which must be set before this call is made.
The id parameter is an optional parameter to specify which configuration to return results for. Content can be processed by multiple configurations in one pass by prior calls to Salience.AddSalienceConfiguration. Omitting this parameter or passing an empty string returns results based on the default configuration.
This method is a a wrapper around the underlying C API method lxaGetCollectionFacets.

Syntax

public List<SalienceFacet> GetFacets(String id="")

Parameters

id Optional: The identifier for a specific configuration for results.

Returns

If successful, a List<> of SalienceFacet objects is returned. Otherwise, an exception is thrown with information about the failure.

Example

TODO: Example needed for Salience 6

<< SalienceCollection.GetEntities | Back to Salience 6 .Net Index | SalienceCollection.GetQueryDefinedTopics >>