lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie Johnson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3231) Add the ability to KStemmer to preserve the original token when stemming
Date Mon, 26 Mar 2012 17:08:28 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238564#comment-13238564
] 

Jamie Johnson commented on SOLR-3231:
-------------------------------------

Thanks Robert.  I just read LUCENE-3415 and understand the approach.  My biggest issue is
I don't like having to create a separate field to do an exact search, this of course is based
on the fact that I was burned by this so perhaps I am biased.  It feels like the right thing
to do from a user of the API would be to do the least destructive thing, but again I have
a specific use case in mind and am not considering all other implications.
                
> Add the ability to KStemmer to preserve the original token when stemming
> ------------------------------------------------------------------------
>
>                 Key: SOLR-3231
>                 URL: https://issues.apache.org/jira/browse/SOLR-3231
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Jamie Johnson
>             Fix For: 4.0
>
>         Attachments: KStemFilter.patch
>
>
> While using the PorterStemmer, I found that there were often times that it was far to
aggressive in it's stemming.  In my particular case it is unrealistic to provide a protected
word list which captures all possible words which should not be stemmed.  To avoid this I
proposed a solution whereby we store the original token as well as the stemmed token so exact
searches would always work.  Based on discussions on the mailing list Ahmet Arslan, I believe
the attached patch to KStemmer provides the desired capabilities through a configuration parameter.
 This largely is a copy of the org.apache.lucene.wordnet.SynonymTokenFilter.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message