Do you have advanced stemming enabled? With basic stemming only the first stem 
returned from cts:stem indexed and used for matching in search.

//Mary

On 03/31/2016 03:00 AM, Debin, Infant Jerald (LNG-CON) wrote:
Hi Team,

For the term French term “disparu” corresponding French stemmed word  
“disparaître” is not getting recognized when performing search.

Example:

Query:

let $text:= <text xml:lang="fr">avec la rupture de septembre 1997, cette 
disparues situation fait disparaître la justification. Les services fournis 
disparu par la demanderesse l'ont été dans l'attente d'une rémunération,</text>
return
cts:highlight($text,cts:query(<cts:word-query>
                                <cts:text xml:lang="fr">disparu</cts:text>
                                <cts:option>case-insensitive</cts:option>
                                <cts:option>diacritic-insensitive</cts:option>
                                <cts:option>punctuation-insensitive</cts:option>
                      </cts:word-query>),<h1>{$cts:text}</h1>)

Result:

Disparaître is not getting recognized and highlighted as below,


<text xml:lang="fr">avec la rupture de septembre 1997, cette <h1>disparues</h1> 
situation fait disparaître la justification. Les services fournis 
<h1>disparu</h1> par la demanderesse l'ont été dans l'attente d'une 
rémunération,</text>

Below is the result of cts:stem,

cts:stem("disparu","fr")

disparu
disparaître

Please let us know on this issue.

Thanks and Regards,

Debin
Mob: +91-9789826001




_______________________________________________
General mailing list
General@developer.marklogic.com<mailto:General@developer.marklogic.com>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general


_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to