On Thu, Nov 22, 2012 at 4:35 AM, Rayne Olivetti <[email protected]> wrote:
> I'm well aware of the purpose of Lucy, but is it not possible to use it 
> directly from C? I can't find any documents regarding this, and the INSTALL 
> file says "Currently it is available via Perl bindings.", which almost 
> suggests "you're on your own if you're going to use Lucy from C" (and this 
> sounds quite awkward for a C library).
>
> I'm also trying to write Go bindings (which is normally done via cgo, which 
> allows Go code to directly call C functions), and using cgo doesn't require 
> any of the binding magics that ships with Lucy --it works best with a plain, 
> old C API.

There is not yet a published C API.   There is a strong desire to have
one, but it's yet to be a top priority.  It will probably stay that
way until someone shows up on the mailing list with a clear need and
the willingness and ability to help work on it. :)

The difficulty is that host languages are integral to the way Lucy
works, and some small but crucial pieces are implemented only in the
host language.  There's been considerable interest in other languages,
but right now Perl is the only one fully supported.

Here's a little more background:
http://lucene.472066.n3.nabble.com/Release-date-and-language-bindings-td676033.html

--nate

Reply via email to