On Thu, Jun 14, 2007 at 10:58:01PM +0200, Henrik Zagerholm wrote:
> Hello list,
>
> I know this is a little OT but I wonder how I would go about using
> cFerret directly through C/C++ for indexing.
>
> Right now I do
>
> index = Index::Index.new(:path => '/path/to/index')
>
> index << {:title => "Programming Ruby", :content => "blah blah blah"}
>
> How would I do this in C/C++ against cFerret?
Have you had a look at Ferret's source tree? There are c unit tests,
maybe these help to get you started?
I think you're the first to try this, so good luck :-)
Jens
--
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk