How to install mwsd

This is a short guide on how to install mwsd https://github.com/KWARC/mws 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 https://github.com/KWARC/mws 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/deploy.sh config/mws_services.conf sudo service mwsd_arxivdemo start service restd_arxivdemo start

Tags: 

Comments

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:

  1. #define DEFAULT_MWSQUERY_TOTALREQ_MAXSIZE 1000000

after that you have to recompile.