xapian quickstart example
PHP C++ Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
samplebooks
README.md
indexer.sh
quickstartindex
quickstartindex.cc
quickstartsearch
quickstartsearch.cc
sampleindexer.php
samplesearch.php

README.md

Xapian Quickstart

Playing with samples at http://xapian.org/docs/

Compile with xapian-config

c++ quickstartindex.cc `xapian-config --libs --cxxflags` -o quickstartindex
c++ quickstartsearch.cc `xapian-config --libs --cxxflags` -o quickstartsearch

Usage

$ mkdir data

$ ./quickstartindex data \    
"I met a little Elfman once" \
> Down where the lilies blow.


$ ./quickstartindex data \
> "As I walked soft, in Ravenswood" \
> through light and dappled shade.