You can put this thing before your stemmer, with a custom map of exceptions:

http://lucene.apache.org/core/4_9_0/analyzers-common/org/apache/lucene/analysis/miscellaneous/StemmerOverrideFilter.html

On Tue, Jul 29, 2014 at 10:03 AM, Robert Nikander
<rob.nikan...@gmail.com> wrote:
> Hi,
>
> I created an Analyzer with a PorterStemFilter, and I’m searching some test 
> documents.  Normal plurals work; searching for “zebra” finds text with 
> “zebras”. But searching for “goose” doesn’t find “geese”.  Is that expected?  
> Does it give up on irregular English?  Is there a way to make that work, or a 
> reason that it can’t?
>
> thanks,
> Rob
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to