FT3: a full text indexer and search engine

Installation guide

Installation from source

choose a directory to install all softwares, as an example we take prefix=$HOME/dist.
  1. You can know download all required softwares with the download.sh script included in the distribution!
    The script use curl to download and it is a simple bash script.
  2. Install required softwares, if you don't have them:
    • sqlite3:
      Follow the procedure from sqlite web site, we use 3.3.7 version. Working will all 3.3.* version. NOT compatible with 3.2.* series.
    • boost
      You will need boost-1.33. It is easier if you can get it already build. You can download it from boost.org. If you are under windows, a nice installer is available here.
  3. Install suggested softwares, if you find them usefull:
    • sparsehash
      If you want to minimize the memory consumption at indexation time, you can install this hash map program. It is needed only if you have a lot of text to index. A lot means that text amount is in the same order as computer's main memory.
      Follow the procedure from sparesehash web site, we use 0.4 version. If you use 0.2 or 0.3 version, you may have to add a make CXXFLAGS+='-Isrc' in order to have it to build.
    • libedit
      suggested
      This is a BSD implementation of the readline library. If you don't install it, you just loose the history of command for ft3_searcher.
      You can download it from thrysoee.
    • expat
      suggested
      You need expat to build the demo. It should already be available on your site.
  4. grad the tarball from sourceforge.net.
  5. decompess it somewhere:
    tar zxvf ft3-0.3.0.tar.gz
    and change directory via
    cd ft3-0.3.0
  6. configure the software:
    sh ./configure --prefix=$HOME/dist
    note that
    sh ./configure --help
    gives a full list of options. Note that if you want to install in another directory with the prefix option, you have to add some flags at configure time:
    CPPFLAGS='-I/where/I/install/include' LDFLAGS='-L/where/I/install/lib' sh ./configure --prefix=/where/I/install
    On Debian, I need other parameters:
    CPP=/usr/bin/cpp CC=gcc-4.1 CXX=g++-4.1 CFLAGS='-g -I/home/paubert/dist/include' CXXFLAGS='-g -I/home/paubert/dist/include' LDFLAGS='-L/home/paubert/dist/lib -g' sh ../src/ft3/configure --prefix=$HOME/dist --disable-thread
    Obviously replace -g by -O3 -DNDEBUG if you want to build an optimized code.
  7. compile it with a
    make
    and install it with a:
    make install
    Note: you get some warnings when you compile ft3_language which you can ignore.

Binary install

Each released version of FT3 should come with some binaries for platform I have access to, currently cygwin, WinXP and Linux 32bits (Ubuntu). You just grab a tarball for your OS, untar it (or unzip it) and you got the 2 binaries build in the previous section. You still need the source tarball to get the documentation and SQL schemas.
Home,   Sourceforge,   Download,   @2002-2006 P. Aubert