Re: Lucene/Cocoa integration
Re: Lucene/Cocoa integration
- Subject: Re: Lucene/Cocoa integration
- From: Steve Majewski <email@hidden>
- Date: Wed, 24 Jan 2007 16:29:13 -0500
On Jan 24, 2007, at 3:17 PM, Jesse Grosjean wrote:
A few years back I used the Cocoa Java bridge to use Java lucene
from an Objective-c cocoa app. Generally it worked most of the
time, but there always seemed to be many issues and a fairly
constant stream of related crashes that I couldn't detect. Things
might work a lot better if you use JNI directly (instead of the now
deprecated cocoa java bridge), but you'll still have the cost of
running the JVM along with your app.
If possible I would highly recommend that you take a look at the
SearchKit api. It might not be quite as feature filled as lucene,
but it generally does the same thing, and it's a lot easier to use
from cocoa.
Another alternative to JNI might be to use C++ CLucene: http://
clucene.sourceforge.net/index.php/Main_Page,
or do what they did for PyLucene : compile the java version with GCJ
and link to it.
( But I haven't tried either of these myself: I'm only using the Java
version - sometimes from Rhino-javascript
and sometimes from Jython. )
-- Steve Majewski
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden