Hi Geert, I understand stem for disparaître is not disparu.
But stem for "disparu" is "disparaître". The same is not getting recognized and highlighted. We need "disparaître" to be highlighted when we give "disparu". <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> Please advise. Thanks and Regards, Debin Mob: +91-9789826001 From: [email protected] [mailto:[email protected]] On Behalf Of Geert Josten Sent: Thursday, March 31, 2016 7:00 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted Hi Debin, The issue is that the stem for disparaître is not disparu, but disparaître. If you highlight with disparaître instead, you should see all highlights you are looking for: for $word in ("disparu", "disparues", "disparaître") return ("==============", $word, "------------", cts:stem("disparu","fr")) Cheers, Geert From: <[email protected]<mailto:[email protected]>> on behalf of "Debin, Infant Jerald (LNG-CON)" <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Thursday, March 31, 2016 at 12:00 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted 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 [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
