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

Document Details Options

These options have been added in order to provide greater control over the results for document details.

Stem Document Details

If turned off, n-grams are returned in their unstemmed form. If turned on, the last token within an n-gram result is returned in its stemmed form. By default, this option is set to true to replicate results from prior Salience versions.

Min/Max range

0 or 1

Default value

1 (true)

C API

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

.NET

SalienceEngine.StemDocDetails = boolean value

Java

Salience.Options.DocumentDetails.setDocDetailsStemming(boolean value)

Python

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

Updated 8 months ago

Document Details Options


Suggested Edits are limited on API Reference Pages

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