How to install mwsd

This is a short guide on how to install mwsd apt-get install git g++ cmake make pkg-config libmicrohttpd-dev libxml2-dev libleveldb-dev libsnappy-dev libjson0 libjson0-dev libhtmlcxx-dev libicu-dev libcurl4-gnutls-dev doxygen netcat curl cd /home/ ls git clone cd mws mkdir build cd build/ cmake .. make all Do not use my old start-up script anymore. There is a config file and change MWS_HARVEST_PATH="../data/arxivdemo" to the path were the extracted data was stored e.g. MWS_HARVEST_PATH="/data/mwsIndex" after that install and run the service sudo scripts/sysv/ config/mws_services.conf sudo service mwsd_arxivdemo start service restd_arxivdemo start



Change maximal result size

I adjusted the maximal result size and changed it from 100 000 to 1 000 000

This can be done by changing /home/mws/config/MwsQueryConf.hpp:


after that you have to recompile.