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

Category Options

Category Explanations

Turns explanations (additional results) on or off when calling for document categories.

Min/Max range

0 or 1

Default value

0

C API

SalienceOption oOption;
oOption.nOption = SALIENCEOPTION_CATEGORYEXPLANATION;
oOption.nValue = ;
lxaSetSalienceOption(pSession,&oOption);

.NET

SalienceEngine.ExplainCategories = boolean value

Java

Salience.Options.Categories.setCategoryExplanation(boolean value)

Python

salience.setOption_CategoryExplanation(session,integer value, configuration ID)

Updated 8 months ago

Category Options


Suggested Edits are limited on API Reference Pages

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