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™ 4G



Justin Makeig <justin.mak...@marklogic.com> 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
justin.mak...@marklogic.com<mailto:justin.mak...@marklogic.com>
www.marklogic.com<http://www.marklogic.com/>



On Jan 16, 2014, at 11:38 PM, 
<diwakar.narayanasw...@cognizant.com<mailto:diwakar.narayanasw...@cognizant.com>>
 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
General@developer.marklogic.com<mailto:General@developer.marklogic.com>
http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to