Salience

The Salience Developer Hub

Welcome to the Salience developer hub. You'll find comprehensive guides and documentation to help you start working with Salience as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Collection Options

Options

setOption_CollectionResultSize

setOption_CollectionResultSize(session, nSize, acConfigurationID)

Maximum number of collection results to return for an API call.

See also: [Options->Collection Options->Collection Result Size]

setOption_CollectionSemantics

setOption_CollectionSemantics(session, nValue, acConfigurationID)

Flag to indicate whether or not to use semantic capabilities to enhance collection results.

See also: [Options->Collection Options->Use Collection Semantics]

setOption_MaxCollectionSize

setOption_MaxCollectionSize(session, nSize, acConfigurationID)

Maximum number of documents that can be included in a single collection.

See also: [Options->Collection Options->Max Collection Size]

setOption_ReturnAllThemeMentions

setOption_ReturnAllThemeMentions(session, nReturnAllMentions, acConfigurationID)

When enabled, Collections include every occurrence of every theme in result structure. Otherwise, it returns one occurrence for every unique theme text.

See also: [Options->Collection Options->Return All Theme Mentions]

setOption_StemFacets

setOption_StemFacets(session, nStemFacets, acConfigurationID)

Controls stemming of facets and attributes. Defaults to 0 (enable stemming).

See also: [Options->Collection Options->Stem Facets]

Updated 7 months ago

Collection Options


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.