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)