-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Hibernate Search with Polish stemming
PostPosted: Mon Jan 24, 2011 12:11 pm 
Newbie

Joined: Thu Jan 13, 2011 6:13 am
Posts: 16
Hi,

How can I use Hibernate Search with Lucene and Polish stemming.

I know that it is possible and not integrated (http://wiki.apache.org/solr/LanguageAnalysis#Polish) but I not found complete information how to do it.

Thanks


Top
 Profile  
 
 Post subject: Re: Hibernate Search with Polish stemming
PostPosted: Tue Jan 25, 2011 9:59 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

as far as I understand Polish stemming is possible via StempelFilter which will be in Lucene 3.1 which is not officially released yet. Currently Search uses Lucene 3.0.3.
The source code of Lucene contains already I PolishAnalyzer. Have a look there and add the required classes to your project. I believe the actual framework around should be the same as in 3.0.3 so it might be just a question of getting the additional required classes. There might be more to it you would have to try.

--Hardy


Top
 Profile  
 
 Post subject: Re: Hibernate Search with Polish stemming
PostPosted: Tue Jan 25, 2011 10:04 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
This might forum post might help.

Note though that this is talking about the Solr framework, but the problem is the same in Search.


Top
 Profile  
 
 Post subject: Re: Hibernate Search with Polish stemming
PostPosted: Thu Jan 27, 2011 8:59 am 
Newbie

Joined: Thu Jan 13, 2011 6:13 am
Posts: 16
I will try to add required classes to my project

Thanks for your help


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.