Search Index And External Commits

At the moment we alter the index after a successful commit.

We also check the up-to-date-ness of the search index before responding to a search request in order to

  • cope with external commits
  • initialize from existing SVN data
  • not require our index directory to be backed-up

It might all prove a little slow though, seems ok for now.

We remember the highest indexed revision number as a document in the lucene search index.