-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate-Search : Analyzer Compatibility
PostPosted: Fri Feb 05, 2010 11:27 am 
Beginner
Beginner

Joined: Fri Feb 05, 2010 10:54 am
Posts: 28
Hy,

First of all congratulations for the work done on Hibernate Search!
I work on industrialization of Hibernate Search and this opens up interesting prospects.

Unfortunately, a lot of Analyzer are not compatible.

Does it exist list of compatible Analyzer ?

Regarding the Road Map (Devoxx) : improved integration with Solr.
will you solve this problem ?

Sincerely.

G. S.


Top
 Profile  
 
 Post subject: Re: Hibernate-Search : Analyzer Compatibility
PostPosted: Tue Feb 09, 2010 7:19 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hello,
What would you exactly need from "improved integration with Solr" ?

The Lucene Analyzers have changed interface since version 3.0, especially they are now missing an empty constructor so we have to update the way they are initialized.
Solr is currently having the same problem; the Solr team is working to upgrade to Lucene 3 too but - as of writing - didn't finish yet.
Which current Analyzers are incompatible? The problem is that you can create your own analyzer, we can't predict all needs to initialize them; but you could create a Search friendly constructor.
While working on the new loaders, I'd like to hear from current trouble so we can fix that.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Hibernate-Search : Analyzer Compatibility
PostPosted: Tue Feb 09, 2010 1:06 pm 
Beginner
Beginner

Joined: Fri Feb 05, 2010 10:54 am
Posts: 28
I don't know exactly for "improved integration with Solr", I just readed it on a web site what resume Devoxx's day and Emmanuel Bernard's presentation.

about empty constructor, i see what you say, i had this problem.

I have also a problem with MultiFieldQueryParser and parse method.
the indexation is allright with for example : NGramTokenizerFactory and NGramFilterFactory
(maxGramSize = 30 and minGramSize = 2)

but when i instantiate : MultiFieldQueryParser(fields, fullTextEntityManager.getSearchFactory().getAnalyzer(XXX.class))

the parsing return bad lucene query : xxx:"t e s t te es st t e s t tes est test"

=> problem..

do you work on this type of problems ?

Thx
G.S.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.