Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5469B985A for ; Mon, 26 Mar 2012 16:44:52 +0000 (UTC) Received: (qmail 50927 invoked by uid 500); 26 Mar 2012 16:44:51 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 50868 invoked by uid 500); 26 Mar 2012 16:44:50 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 50861 invoked by uid 99); 26 Mar 2012 16:44:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 16:44:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 16:44:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 471DE3477E5 for ; Mon, 26 Mar 2012 16:44:27 +0000 (UTC) Date: Mon, 26 Mar 2012 16:44:27 +0000 (UTC) From: "Mark Miller (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <854826619.18010.1332780267341.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <522582310.48668.1331433297549.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-3231) Add the ability to KStemmer to preserve the original token when stemming MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-3231: ------------------------------ Affects Version/s: (was: 4.0) Fix Version/s: 4.0 > 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