You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Wermus Fernando <fe...@xlnet.net.ar> on 2004/09/22 16:56:18 UTC

about snowball

I have test my app with snowball for english. But I'm doing something
wrong because I can't get any result from hit.
 
If I index "lazy" with English snowball when I see the word in Luke it
shows "lazy" (I've read that Luke show the file as is). When I do the
search for the word "laziness" the snowball English change for "lazi"
but it doesn't seem to add any * . So I can't get any hit.
 
If I search for 
 
laziness
 
The result using MultiFieldQueryParser
 
description:lazi
 
0 hits
 
I am supposed to index the word "lazy" as tokenized, unindexed or
something like this to get a hit. I have a similar problem when sorting,
it ask for being untokenized.
 
What am I doing wrong?
 
How can I use Luke to look up words using snowball English?
 
thanks

Re: about snowball

Posted by John Moylan <jo...@rte.ie>.
You need to search useing a snowball analayzer  and also index using the 
same analyzer.

John

Wermus Fernando wrote:
> I have test my app with snowball for english. But I'm doing something
> wrong because I can't get any result from hit.
>  
> If I index "lazy" with English snowball when I see the word in Luke it
> shows "lazy" (I've read that Luke show the file as is). When I do the
> search for the word "laziness" the snowball English change for "lazi"
> but it doesn't seem to add any * . So I can't get any hit.
>  
> If I search for 
>  
> laziness
>  
> The result using MultiFieldQueryParser
>  
> description:lazi
>  
> 0 hits
>  
> I am supposed to index the word "lazy" as tokenized, unindexed or
> something like this to get a hit. I have a similar problem when sorting,
> it ask for being untokenized.
>  
> What am I doing wrong?
>  
> How can I use Luke to look up words using snowball English?
>  
> thanks
> 

******************************************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RTÉ may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
******************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org