Hi Erwan,

It's funny you should bring this up, I have a local git branch where I've been 
working on the upgrade off and on as well.  I don't have time right now, but 
have been looking at the API a fair bit and should probably be able to get it 
done within the next week or two.

What did you have planned for Lucene out of curiosity?

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 3/05/2010, at 7:46 AM, Erwan de FERRIERES wrote:

> Hi all,
> 
> When going to https://localhost:8443/content/control/AdminSearch, I can't get 
> any result. When loading the page, here is the first error message :
> in search, error:no segments* file found in 
> org.apache.lucene.store.FSDirectory@/home/erwan/workspace/Apache_OFBiz/ofbiz/applications/content/index:
>  files:
> --> Lucene is now using Directory
> 
> Then when adding a parameter and running the search :
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
> [component://content/widget/cms/CMSScreens.xml#AdminSearch]: 
> groovy.lang.MissingMethodException: No signature of method: 
> org.apache.lucene.search.BooleanQuery.add() is applicable for argument types: 
> (org.apache.lucene.search.TermQuery, java.lang.Boolean, java.lang.Boolean) 
> values: [feature:EC_FORKLIFT, true, false]
> Possible solutions: any(), add(org.apache.lucene.search.BooleanClause), 
> add(org.apache.lucene.search.Query, 
> org.apache.lucene.search.BooleanClause$Occur), wait(), dump(), 
> any(groovy.lang.Closure) (No signature of method: 
> org.apache.lucene.search.BooleanQuery.add() is applicable for argument types: 
> (org.apache.lucene.search.TermQuery, java.lang.Boolean, java.lang.Boolean) 
> values: [feature:EC_FORKLIFT, true, false]
> Possible solutions: any(), add(org.apache.lucene.search.BooleanClause), 
> add(org.apache.lucene.search.Query, 
> org.apache.lucene.search.BooleanClause$Occur), wait(), dump(), 
> any(groovy.lang.Closure))
> 
> My guess is that queries construction is not compatible with the lucene 
> version we are using, and thus cannot be upgraded too.
> 
> My week-end goal was to migrate lucene version to 3.0.1, but as it is not 
> working, I couldn't do it.
> 
> Then, for the https://localhost:8443/content/control/AdminIndex, I can't say 
> if it's working or not, so I didn't go more deeper into the problem.
> 
> If someone could take a look, this would be very great !
> 
> Cheers,
> 
> -- 
> Erwan de FERRIERES
> www.nereide.biz

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to