E.g.
cts:stem("hearings") returns "hearing",
cts:stem("hearing") returns ("hear", "hearing")
Kind regards,
Geert
*Van:* [email protected] [mailto:
[email protected]] *Namens *Mary Holstege
*Verzonden:* vrijdag 17 januari 2014 16:14
*Aan:* MarkLogic Developer Discussion
*Onderwerp:* Re: [MarkLogic Dev General] Stemming constraint
You will need to enable 'advanced' stemming. The issue is that the shortest
stem of 'bearing' is the verb stem 'bear' but the shortest stem of
'bearings' is 'bearing' so they don't match with 'basic' stemming. You'll
get the with all verb nominals like this is English. The setting is at the
top of the database config page.
//Mary
Sent from my Samsung Epic(tm) 4G
Justin Makeig <[email protected]> wrote:
cts:stem(...) <http://docs.marklogic.com/cts:stem> will tell you how the
server is stemming words. You can also customize which words are mapped to
which stems using a custom dictionary <
http://docs.marklogic.com/guide/search-dev/custom-dictionaries>. Make sure
you heed the caution in the docs about reindexing if you go down the custom
dictionary path.
Justin
Justin Makeig
Director, Product Management
MarkLogic Corporation
[email protected]
www.marklogic.com
On Jan 16, 2014, at 11:38 PM, <[email protected]>
wrote:
Hi all,
I have a document which has a word "hearings". I tried
searching the document using cts:search with that word. I got the document.
Once again I tried searching the a same document by giving the word
"hearing". The corresponding document with the word "hearings" did not come
in the result.
So I tried
Cts:stem(hearing) - I did not get " hearings".
Doesn't "hearings" and "hearing" come from the same root. Is this a Mark
logic limitation or English language constraint?
Thanks in Advance,
Diwakar N
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient(s), please reply to the
sender and destroy all copies of the original message. Any unauthorized
review, use, disclosure, dissemination, forwarding, printing or copying of
this email, and/or any action taken in reliance on the contents of this
e-mail is strictly prohibited and may be unlawful.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general