lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wagner,Harry" <wagn...@oclc.org>
Subject RE: Solr and KStem
Date Mon, 10 Sep 2007 19:16:36 GMT
Hi Yonik and Mike,
No problem regarding my employer.  I've checked and they are happy to
contribute it.  I'm not sure what to do about the KStem code though.  It
was originally written by Bob Krovetz and then modified for Lucene by
Sergio Guzman-Lara (both from UMASS Amherst).  I modified the Guzman
version for Solr.  Perhaps I should contribute only what I modified,
with instructions for making it work?

Let me know... harry

-----Original Message-----
From: Mike Klaas [mailto:mike.klaas@gmail.com] 
Sent: Monday, September 10, 2007 2:49 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr and KStem

Hi Harry,

Thanks for your contribution!  Unfortunately, we can't include it in  
Solr unless the necessary legal hurdles are cleared.

An issue needs to be opened on http://issues.apache.org/jira/browse/ 
SOLR and you have to attach the file and check the "Grant License to  
ASF" button.  It is also important to verify that you have the legal  
right to grant the code to ASF (since it is probably your employer's  
intellectual property).

Legal issues are a hassle, but are unavoidable, I'm afraid.

Thanks again,
-Mike

On 10-Sep-07, at 10:22 AM, Wagner,Harry wrote:

> Hi Yonik,
> The modified KStemmer source is attached. The original KStemFilter is
> now wrapped (and replaced) by KStemFilterFactory.  I also changed the
> path to avoid any naming collisions with existing Lucene code.
>
> I included the jar file also, for anyone who wants to just drop and
> play:
>
> - put KStem2.jar in your solr/lib directory.
> - change your schema to use: <filter
> class="org.oclc.solr.analysis.KStemFilterFactory" cacheSize="20000"/>
> - restart your app server
>
> I don't know if you credit contributions, but if so please include  
> OCLC.
> Seems only fair since I did this on their dime :)
>
> Cheers!
> harry
>
>
> -----Original Message-----
> From: yseeley@gmail.com [mailto:yseeley@gmail.com] On Behalf Of Yonik
> Seeley
> Sent: Friday, September 07, 2007 3:59 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Solr and KStem
>
> On 9/7/07, Wagner,Harry <wagnerh@oclc.org> wrote:
>> I've implemented a Solr plug-in that wraps KStem for Solr use.  KStem
> is
>> considered to be more appropriate for library usage since it is much
>> less aggressive than Porter (i.e., searches for organization do NOT
>> match on organ!). If there is any interest in feeding this back into
>> Solr I would be happy to contribute it.
>
> Absolutely.
> We need to make sure that the license for that k-stemmer is ASL
> compatible of course.
>
> -Yonik
> <kstem_solr.tar.gz>


Mime
View raw message