Add multithreaded indexing of articles.
Add -O2 to Makefile.