Version 11 of Xapian

Updated 2008-04-17 05:45:00 by OllyBetts

An advanced open source fulltext indexing package available from: http://www.xapian.org

It includes bindings for some scripting languages including a SWIG generated Tcl binding, properly packaged as a stubs enabled Tcl package since version 0.8.4.

(EMJ) To build the current release, you need http://oligarchy.co.uk/xapian/1.0.6/xapian-core-1.0.6.tar.gz and http://oligarchy.co.uk/xapian/1.0.6/xapian-bindings-1.0.6.tar.gz . In the latter, two fixes are needed before building:

* Edit configure, changing

    TCL_LIB=`echo 'foreach d $tcl_pkgPath {if {!regexp {/share(/|$)} $d} {break}};puts $d'|$TCLSH`

to

    TCL_LIB=`echo 'foreach d $tcl_pkgPath {if {![regexp {/share(/|$)} $d]} {break}};puts $d'|$TCLSH`

* Edit tcl8/Makefile.in, changing

 tcllibdir = @TCL_LIB@/../xapian@VERSION@

to

 tcllibdir = @TCL_LIB@/xapian@VERSION@

I don't know whether these have been fixed in the various pre-compiled packages.

If you find bugs in Xapian, please report them so we can actually fix them! I stumbled across this page completely by accident. I've just fixed the first issue (down to m4 quoting). The second "fix" isn't correct for all platforms - for my Tcl installation (Ubuntu Hardy) - I get TCL_LIB=/usr/lib, and I don't want the Tcl bindings to go in /usr/xapian1.0.6! Suggestions for a better way to determine where to install are welcome. - OllyBetts


schlenk This could be a base for a very nice search engine to be added to tclhttpd or rivet for example. Or maybe even as an additional search engine for the wiki?

CMcC if you use a metakit store for the pages, you can just use the select -keyword option and get fulltext search aka KWIC


Category Package