[Xapian-discuss] xapian-bindings compile creates 34mb xapian_wrap.o file?

Olly Betts olly at survex.com
Mon Oct 18 21:43:29 BST 2004


On Mon, Oct 18, 2004 at 01:15:10PM -0700, Eric Parusel wrote:
> By the way, I haven't been able to find examples for using TCL bindings
> with Xapian -- does anyone have some?

We really ought to have examples for every we have bindings for, but sadly
we don't at present (contributions most welcome!)

The tcl8 bindings originally date back to the BrightStation days.  James
got them working again fairly recently, but I think he said he doesn't
know much tcl8 (and I don't either).

> TCL is very foreign to me :(
> 
> pgsql supports PL/Tcl:
> http://www.postgresql.org/docs/7.4/interactive/pltcl.html
> so I'm looking into using that to interface with xapian...

If you don't know TCL, using C++ would probably be simpler:

http://www.postgresql.org/docs/7.4/interactive/xfunc-c.html

The first sentence reads:

    User-defined functions can be written in C (or a language that can be
    made compatible with C, such as C++)

Cheers,
    Olly



More information about the Xapian-discuss mailing list