← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [docbook-apps] Webhelp search trims certain letters from searchterms?

From
David Cramer <>
Date
2011-03-09T16:30:16+00:00
ID
Thread
Re: [docbook-apps] Webhelp search trims certain letters from searchterms?
Hi Peter,
For your immediate needs you can turn off stemming by changing the 
webhelp.indexer.language property to some unsupported language:

webhelp.indexer.language=xx

That way you won't get stemming, but you won't be affected by this bug.

It looks to me like the client-side stemmer is stemming nucleus but the 
indexer is not:

With a test, in index-2.js, I see:

w["nucleus"]="9";

Certainly something we'll investigate.

Thanks,
David

On 03/09/2011 10:17 AM, Peter Desjardins wrote:
> On Wed, Mar 9, 2011 at 6:56 AM, Kasun Gajasinghe
> <>  wrote:
>
>> Does it return false results for 'nucleu' when searched for 'nucleus'? We
>> tested the search with stemming, and it worked as expected except some few
>> glitches which is ignorable compared to the power it adds!
> I have a document that includes the term "nucleus" many times. If I
> enter the term "nucleus" in the search field, the result is:
>
>    Your search returned no results for nucleu
>
> Is there a way to adjust the stemmer so that it will ignore specific
> words like "nucleus?" This word is extremely important in my case. I'm
> sure there are others.
>
> Thanks.
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
← Prev in month ← Prev in thread
Next in thread → Next in month →