Brian McCallister
10/5/2004 10:07:00 PM
I am looking to do the same thing, but fwiw, calling C (haven't tried
C++) from ruby is pretty straightforward via ruby/dl. Not sure how
straightforward CLucene's api is for this, though.
I won't have a chance to hack around before I leave on vacation later
this week, but once I hack around a bit will post my results.
-Brian
On Oct 5, 2004, at 4:59 PM, Oliver Cromm wrote:
> As Lucene is not ported yet to Ruby, can I use CLucene (or another
> version) for the time being?
>
> I'm not a Real Programmer[TM] and don't have an idea about how you call
> C++ from Ruby (I can't use gcc without explicit instructions, so
> README.EXT is quite a hard read for me). It seems that you have to
> write some kind of 'wrapper'.
>
> Or does that amount to 'porting Lucene to Ruby' already?
> --
> Oliver Cromm
> 'Conduct warfare on the most chivalrous principles,
> there must ever be a touch of murder about it.'
> William Howard Russell, 1860
>
>