the SUccinct Retrival Framework.
- gcc 4.7 or clang 4.3
- indri to convert indri indexes to surf input format
cd surf
git submodule init
git submodule update
cd build
cmake ..
make
cd surf/build
./surf_index-IDX_D -c ../collections/wikishort/
cd surf/build
./surf_search -c ../collections/wikishort/ -q <qryfile> -k 10
cd ./indri-5.6/
./configure
make
cd buildindex
# change indri config to correct storage locations
./IndriBuildIndex ./surf/extras/gov2.indricfg
cd surf/tools
# change path of indri source code in Makefile
make
# ./indri_to_surf <path_to_indri_repo> <path_to_surf_repo>
./indri_to_surf ../collections/gov2indi ../collections/gov2/
an index daemon can be started in the background and listen on a specific port for search requests
cd build
./surf_daemon-IDX_D -c ../collections/wikishort/ -p 12345
the daemon can be queried via the network or localhost
cd build
./surf_query -q <qry_file> -h 127.0.0.1:12345 -k 10
the daemon can be terminated via the query client.
cd build
./surf_query -q <qry_file> -h 127.0.0.1:12345 -k 1 -s